I use C# and i want only insert one row in the Journal General. No childs...
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
// Generation date: 2017-02-06 11:27:11
namespace ODataClientCodeGeneratorSample
{
/// <summary>
/// There are no comments for NAV in the schema.
/// </summary>
[global::Microsoft.OData.Client.OriginalNameAttribute("NAV")]
public partial class NAV : global::Microsoft.OData.Client.DataServiceContext
{
/// <summary>
/// Initialize a new NAV object.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
public NAV(global::System.Uri serviceRoot) :
base(serviceRoot, global::Microsoft.OData.Client.ODataProtocolVersion.V4)
{
this.ResolveName = new global::System.Func<global::System.Type, string>(this.ResolveNameFromType);
this.ResolveType = new global::System.Func<string, global::System.Type>(this.ResolveTypeFromName);
this.OnContextCreated();
this.Format.LoadServiceModel = GeneratedEdmModel.GetInstance;
this.Format.UseJson();
}
partial void OnContextCreated();
/// <summary>
/// Since the namespace configured for this service reference
/// in Visual Studio is different from the one indicated in the
/// server schema, use type-mappers to map between the two.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
protected global::System.Type ResolveTypeFromName(string typeName)
{
global::System.Type resolvedType = this.DefaultResolveType(typeName, "NAV", "ODataClientCodeGeneratorSample");
if ((resolvedType != null))
{
return resolvedType;
}
return null;
}
/// <summary>
/// Since the namespace configured for this service reference
/// in Visual Studio is different from the one indicated in the
/// server schema, use type-mappers to map between the two.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
protected string ResolveNameFromType(global::System.Type clientType)
{
global::Microsoft.OData.Client.OriginalNameAttribute originalNameAttribute = (global::Microsoft.OData.Client.OriginalNameAttribute)global::System.Linq.Enumerable.SingleOrDefault(global::Microsoft.OData.Client.Utility.GetCustomAttributes(clientType, typeof(global::Microsoft.OData.Client.OriginalNameAttribute), true));
if (clientType.Namespace.Equals("ODataClientCodeGeneratorSample", global::System.StringComparison.Ordinal))
{
if (originalNameAttribute != null)
{
return string.Concat("NAV.", originalNameAttribute.OriginalName);
}
return string.Concat("NAV.", clientType.Name);
}
return null;
}
/// <summary>
/// There are no comments for GeneralJournal in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("GeneralJournal")]
public global::Microsoft.OData.Client.DataServiceQuery<GeneralJournal> GeneralJournal
{
get
{
if ((this._GeneralJournal == null))
{
this._GeneralJournal = base.CreateQuery<GeneralJournal>("GeneralJournal");
}
return this._GeneralJournal;
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private global::Microsoft.OData.Client.DataServiceQuery<GeneralJournal> _GeneralJournal;
/// <summary>
/// There are no comments for Company in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("Company")]
public global::Microsoft.OData.Client.DataServiceQuery<Company> Company
{
get
{
if ((this._Company == null))
{
this._Company = base.CreateQuery<Company>("Company");
}
return this._Company;
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private global::Microsoft.OData.Client.DataServiceQuery<Company> _Company;
/// <summary>
/// There are no comments for GeneralJournal in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
public void AddToGeneralJournal(GeneralJournal generalJournal)
{
base.AddObject("GeneralJournal", generalJournal);
}
/// <summary>
/// There are no comments for Company in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
public void AddToCompany(Company company)
{
base.AddObject("Company", company);
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private abstract class GeneratedEdmModel
{
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private static global::Microsoft.OData.Edm.IEdmModel ParsedModel = LoadModelFromString();
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private const string Edmx = @"<edmx:Edmx Version=""4.0"" xmlns:edmx=""http://docs.oasis-open.org/odata/ns/edmx"">
<edmx:DataServices>
<Schema Namespace=""NAV"" xmlns=""http://docs.oasis-open.org/odata/ns/edm"">
<EntityType Name=""GeneralJournal"">
<Key>
<PropertyRef Name=""Journal_Template_Name"" />
<PropertyRef Name=""Journal_Batch_Name"" />
<PropertyRef Name=""Line_No"" />
</Key>
<Property Name=""Journal_Template_Name"" Type=""Edm.String"" Nullable=""false"">
<Annotation Term=""NAV.LabelId"" String=""Journal_Template_Name"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/String</EnumMember>
</Annotation>
<Annotation Term=""NAV.IsRequired"" Bool=""true"" />
</Property>
<Property Name=""Journal_Batch_Name"" Type=""Edm.String"" Nullable=""false"">
<Annotation Term=""NAV.LabelId"" String=""Journal_Batch_Name"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/String</EnumMember>
</Annotation>
<Annotation Term=""NAV.IsRequired"" Bool=""true"" />
</Property>
<Property Name=""Line_No"" Type=""Edm.Int32"" Nullable=""false"">
<Annotation Term=""NAV.LabelId"" String=""Line_No"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/Int</EnumMember>
</Annotation>
<Annotation Term=""NAV.IsRequired"" Bool=""true"" />
</Property>
<Property Name=""Posting_Date"" Type=""Edm.DateTimeOffset"">
<Annotation Term=""NAV.LabelId"" String=""Posting_Date"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/Date</EnumMember>
</Annotation>
</Property>
<Property Name=""Document_Date"" Type=""Edm.DateTimeOffset"">
<Annotation Term=""NAV.LabelId"" String=""Document_Date"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/Date</EnumMember>
</Annotation>
</Property>
<Property Name=""Document_Type"" Type=""Edm.String"">
<Annotation Term=""NAV.LabelId"" String=""Document_Type"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/String</EnumMember>
</Annotation>
</Property>
<Property Name=""Document_No"" Type=""Edm.String"">
<Annotation Term=""NAV.LabelId"" String=""Document_No"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/String</EnumMember>
</Annotation>
</Property>
<Property Name=""Incoming_Document_Entry_No"" Type=""Edm.Int32"">
<Annotation Term=""NAV.LabelId"" String=""Incoming_Document_Entry_No"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/Int</EnumMember>
</Annotation>
</Property>
<Property Name=""External_Document_No"" Type=""Edm.String"">
<Annotation Term=""NAV.LabelId"" String=""External_Document_No"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/String</EnumMember>
</Annotation>
</Property>
<Property Name=""Applies_to_Ext_Doc_No"" Type=""Edm.String"">
<Annotation Term=""NAV.LabelId"" String=""Applies_to_Ext_Doc_No"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/String</EnumMember>
</Annotation>
</Property>
<Property Name=""Account_Type"" Type=""Edm.String"">
<Annotation Term=""NAV.LabelId"" String=""Account_Type"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/String</EnumMember>
</Annotation>
</Property>
<Property Name=""Account_No"" Type=""Edm.String"">
<Annotation Term=""NAV.LabelId"" String=""Account_No"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/String</EnumMember>
</Annotation>
</Property>
<Property Name=""Description"" Type=""Edm.String"">
<Annotation Term=""NAV.LabelId"" String=""Description"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/String</EnumMember>
</Annotation>
</Property>
<Property Name=""Payer_Information"" Type=""Edm.String"">
<Annotation Term=""NAV.LabelId"" String=""Payer_Information"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/String</EnumMember>
</Annotation>
</Property>
<Property Name=""Transaction_Information"" Type=""Edm.String"">
<Annotation Term=""NAV.LabelId"" String=""Transaction_Information"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/String</EnumMember>
</Annotation>
</Property>
<Property Name=""Business_Unit_Code"" Type=""Edm.String"">
<Annotation Term=""NAV.LabelId"" String=""Business_Unit_Code"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/String</EnumMember>
</Annotation>
</Property>
<Property Name=""Salespers_Purch_Code"" Type=""Edm.String"">
<Annotation Term=""NAV.LabelId"" String=""Salespers_Purch_Code"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/String</EnumMember>
</Annotation>
</Property>
<Property Name=""Campaign_No"" Type=""Edm.String"">
<Annotation Term=""NAV.LabelId"" String=""Campaign_No"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/String</EnumMember>
</Annotation>
</Property>
<Property Name=""Currency_Code"" Type=""Edm.String"">
<Annotation Term=""NAV.LabelId"" String=""Currency_Code"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/String</EnumMember>
</Annotation>
</Property>
<Property Name=""Gen_Posting_Type"" Type=""Edm.String"">
<Annotation Term=""NAV.LabelId"" String=""Gen_Posting_Type"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/String</EnumMember>
</Annotation>
</Property>
<Property Name=""Gen_Bus_Posting_Group"" Type=""Edm.String"">
<Annotation Term=""NAV.LabelId"" String=""Gen_Bus_Posting_Group"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/String</EnumMember>
</Annotation>
</Property>
<Property Name=""Gen_Prod_Posting_Group"" Type=""Edm.String"">
<Annotation Term=""NAV.LabelId"" String=""Gen_Prod_Posting_Group"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/String</EnumMember>
</Annotation>
</Property>
<Property Name=""VAT_Bus_Posting_Group"" Type=""Edm.String"">
<Annotation Term=""NAV.LabelId"" String=""VAT_Bus_Posting_Group"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/String</EnumMember>
</Annotation>
</Property>
<Property Name=""VAT_Prod_Posting_Group"" Type=""Edm.String"">
<Annotation Term=""NAV.LabelId"" String=""VAT_Prod_Posting_Group"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/String</EnumMember>
</Annotation>
</Property>
<Property Name=""Debit_Amount"" Type=""Edm.Decimal"">
<Annotation Term=""NAV.LabelId"" String=""Debit_Amount"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/Real</EnumMember>
</Annotation>
</Property>
<Property Name=""Credit_Amount"" Type=""Edm.Decimal"">
<Annotation Term=""NAV.LabelId"" String=""Credit_Amount"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/Real</EnumMember>
</Annotation>
</Property>
<Property Name=""Tax_Liable"" Type=""Edm.Boolean"">
<Annotation Term=""NAV.LabelId"" String=""Tax_Liable"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/Bool</EnumMember>
</Annotation>
</Property>
<Property Name=""Tax_Area_Code"" Type=""Edm.String"">
<Annotation Term=""NAV.LabelId"" String=""Tax_Area_Code"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/String</EnumMember>
</Annotation>
</Property>
<Property Name=""Tax_Group_Code"" Type=""Edm.String"">
<Annotation Term=""NAV.LabelId"" String=""Tax_Group_Code"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/String</EnumMember>
</Annotation>
</Property>
<Property Name=""Use_Tax"" Type=""Edm.Boolean"">
<Annotation Term=""NAV.LabelId"" String=""Use_Tax"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/Bool</EnumMember>
</Annotation>
</Property>
<Property Name=""Quantity"" Type=""Edm.Decimal"">
<Annotation Term=""NAV.LabelId"" String=""Quantity"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/Real</EnumMember>
</Annotation>
</Property>
<Property Name=""Amount"" Type=""Edm.Decimal"">
<Annotation Term=""NAV.LabelId"" String=""Amount"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/Real</EnumMember>
</Annotation>
</Property>
<Property Name=""VAT_Amount"" Type=""Edm.Decimal"">
<Annotation Term=""NAV.LabelId"" String=""VAT_Amount"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/Real</EnumMember>
</Annotation>
</Property>
<Property Name=""VAT_Difference"" Type=""Edm.Decimal"">
<Annotation Term=""NAV.LabelId"" String=""VAT_Difference"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/Real</EnumMember>
</Annotation>
<Annotation Term=""NAV.AllowEdit"" Bool=""false"" />
</Property>
<Property Name=""Bal_VAT_Amount"" Type=""Edm.Decimal"">
<Annotation Term=""NAV.LabelId"" String=""Bal_VAT_Amount"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/Real</EnumMember>
</Annotation>
</Property>
<Property Name=""Bal_VAT_Difference"" Type=""Edm.Decimal"">
<Annotation Term=""NAV.LabelId"" String=""Bal_VAT_Difference"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/Real</EnumMember>
</Annotation>
<Annotation Term=""NAV.AllowEdit"" Bool=""false"" />
</Property>
<Property Name=""Bal_Account_Type"" Type=""Edm.String"">
<Annotation Term=""NAV.LabelId"" String=""Bal_Account_Type"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/String</EnumMember>
</Annotation>
</Property>
<Property Name=""Bal_Account_No"" Type=""Edm.String"">
<Annotation Term=""NAV.LabelId"" String=""Bal_Account_No"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/String</EnumMember>
</Annotation>
</Property>
<Property Name=""Bal_Gen_Posting_Type"" Type=""Edm.String"">
<Annotation Term=""NAV.LabelId"" String=""Bal_Gen_Posting_Type"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/String</EnumMember>
</Annotation>
</Property>
<Property Name=""Bal_Gen_Bus_Posting_Group"" Type=""Edm.String"">
<Annotation Term=""NAV.LabelId"" String=""Bal_Gen_Bus_Posting_Group"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/String</EnumMember>
</Annotation>
</Property>
<Property Name=""Bal_Gen_Prod_Posting_Group"" Type=""Edm.String"">
<Annotation Term=""NAV.LabelId"" String=""Bal_Gen_Prod_Posting_Group"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/String</EnumMember>
</Annotation>
</Property>
<Property Name=""Deferral_Code"" Type=""Edm.String"">
<Annotation Term=""NAV.LabelId"" String=""Deferral_Code"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/String</EnumMember>
</Annotation>
</Property>
<Property Name=""Bal_VAT_Bus_Posting_Group"" Type=""Edm.String"">
<Annotation Term=""NAV.LabelId"" String=""Bal_VAT_Bus_Posting_Group"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/String</EnumMember>
</Annotation>
</Property>
<Property Name=""Bal_VAT_Prod_Posting_Group"" Type=""Edm.String"">
<Annotation Term=""NAV.LabelId"" String=""Bal_VAT_Prod_Posting_Group"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/String</EnumMember>
</Annotation>
</Property>
<Property Name=""Bill_to_Pay_to_No"" Type=""Edm.String"">
<Annotation Term=""NAV.LabelId"" String=""Bill_to_Pay_to_No"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/String</EnumMember>
</Annotation>
<Annotation Term=""NAV.AllowEdit"" Bool=""false"" />
</Property>
<Property Name=""Ship_to_Order_Address_Code"" Type=""Edm.String"">
<Annotation Term=""NAV.LabelId"" String=""Ship_to_Order_Address_Code"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/String</EnumMember>
</Annotation>
</Property>
<Property Name=""Shortcut_Dimension_1_Code"" Type=""Edm.String"">
<Annotation Term=""NAV.LabelId"" String=""Shortcut_Dimension_1_Code"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/String</EnumMember>
</Annotation>
</Property>
<Property Name=""Shortcut_Dimension_2_Code"" Type=""Edm.String"">
<Annotation Term=""NAV.LabelId"" String=""Shortcut_Dimension_2_Code"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/String</EnumMember>
</Annotation>
</Property>
<Property Name=""ShortcutDimCode_x005B_3_x005D_"" Type=""Edm.String"">
<Annotation Term=""NAV.LabelId"" String=""ShortcutDimCode_x005B_3_x005D_"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/String</EnumMember>
</Annotation>
</Property>
<Property Name=""ShortcutDimCode_x005B_4_x005D_"" Type=""Edm.String"">
<Annotation Term=""NAV.LabelId"" String=""ShortcutDimCode_x005B_4_x005D_"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/String</EnumMember>
</Annotation>
</Property>
<Property Name=""ShortcutDimCode_x005B_5_x005D_"" Type=""Edm.String"">
<Annotation Term=""NAV.LabelId"" String=""ShortcutDimCode_x005B_5_x005D_"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/String</EnumMember>
</Annotation>
</Property>
<Property Name=""ShortcutDimCode_x005B_6_x005D_"" Type=""Edm.String"">
<Annotation Term=""NAV.LabelId"" String=""ShortcutDimCode_x005B_6_x005D_"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/String</EnumMember>
</Annotation>
</Property>
<Property Name=""ShortcutDimCode_x005B_7_x005D_"" Type=""Edm.String"">
<Annotation Term=""NAV.LabelId"" String=""ShortcutDimCode_x005B_7_x005D_"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/String</EnumMember>
</Annotation>
</Property>
<Property Name=""ShortcutDimCode_x005B_8_x005D_"" Type=""Edm.String"">
<Annotation Term=""NAV.LabelId"" String=""ShortcutDimCode_x005B_8_x005D_"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/String</EnumMember>
</Annotation>
</Property>
<Property Name=""Payment_Terms_Code"" Type=""Edm.String"">
<Annotation Term=""NAV.LabelId"" String=""Payment_Terms_Code"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/String</EnumMember>
</Annotation>
</Property>
<Property Name=""Applied_Automatically"" Type=""Edm.Boolean"">
<Annotation Term=""NAV.LabelId"" String=""Applied_Automatically"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/Bool</EnumMember>
</Annotation>
</Property>
<Property Name=""Applied"" Type=""Edm.Boolean"">
<Annotation Term=""NAV.LabelId"" String=""Applied"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/Bool</EnumMember>
</Annotation>
<Annotation Term=""NAV.AllowEdit"" Bool=""false"" />
</Property>
<Property Name=""Applies_to_Doc_Type"" Type=""Edm.String"">
<Annotation Term=""NAV.LabelId"" String=""Applies_to_Doc_Type"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/String</EnumMember>
</Annotation>
</Property>
<Property Name=""Applies_to_Doc_No"" Type=""Edm.String"">
<Annotation Term=""NAV.LabelId"" String=""Applies_to_Doc_No"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/String</EnumMember>
</Annotation>
</Property>
<Property Name=""Applies_to_ID"" Type=""Edm.String"">
<Annotation Term=""NAV.LabelId"" String=""Applies_to_ID"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/String</EnumMember>
</Annotation>
</Property>
<Property Name=""On_Hold"" Type=""Edm.String"">
<Annotation Term=""NAV.LabelId"" String=""On_Hold"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/String</EnumMember>
</Annotation>
</Property>
<Property Name=""Bank_Payment_Type"" Type=""Edm.String"">
<Annotation Term=""NAV.LabelId"" String=""Bank_Payment_Type"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/String</EnumMember>
</Annotation>
</Property>
<Property Name=""Reason_Code"" Type=""Edm.String"">
<Annotation Term=""NAV.LabelId"" String=""Reason_Code"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/String</EnumMember>
</Annotation>
</Property>
<Property Name=""Comment"" Type=""Edm.String"">
<Annotation Term=""NAV.LabelId"" String=""Comment"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/String</EnumMember>
</Annotation>
</Property>
<Property Name=""Direct_Debit_Mandate_ID"" Type=""Edm.String"">
<Annotation Term=""NAV.LabelId"" String=""Direct_Debit_Mandate_ID"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/String</EnumMember>
</Annotation>
</Property>
<Property Name=""AccName"" Type=""Edm.String"">
<Annotation Term=""NAV.LabelId"" String=""AccName"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/String</EnumMember>
</Annotation>
</Property>
<Property Name=""BalAccName"" Type=""Edm.String"">
<Annotation Term=""NAV.LabelId"" String=""Bal. Account Name"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/String</EnumMember>
</Annotation>
</Property>
<Property Name=""Balance"" Type=""Edm.Decimal"">
<Annotation Term=""NAV.LabelId"" String=""Balance"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/Real</EnumMember>
</Annotation>
<Annotation Term=""NAV.AllowEdit"" Bool=""false"" />
</Property>
<Property Name=""TotalBalance"" Type=""Edm.Decimal"">
<Annotation Term=""NAV.LabelId"" String=""Total Balance"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/Real</EnumMember>
</Annotation>
<Annotation Term=""NAV.AllowEdit"" Bool=""false"" />
</Property>
<Property Name=""ETag"" Type=""Edm.String"" ConcurrencyMode=""Fixed"">
<Annotation Term=""NAV.LabelId"" String=""ETag"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/String</EnumMember>
</Annotation>
</Property>
<Annotation Term=""NAV.LabelId"" String=""GeneralJournal"" />
</EntityType>
<EntityType Name=""Company"">
<Key>
<PropertyRef Name=""Name"" />
</Key>
<Property Name=""Name"" Type=""Edm.String"" Nullable=""false"">
<Annotation Term=""NAV.LabelId"" String=""Name"" />
<Annotation Term=""NAV.NavType"">
<EnumMember>NAV.NavType/String</EnumMember>
</Annotation>
<Annotation Term=""NAV.IsRequired"" Bool=""true"" />
</Property>
<NavigationProperty Name=""GeneralJournal"" Type=""Collection(NAV.GeneralJournal)"" />
</EntityType>
<EnumType Name=""NavType"">
<Member Name=""Date"" Value=""1"" />
<Member Name=""Enum"" Value=""2"" />
<Member Name=""Guid"" Value=""3"" />
<Member Name=""Int"" Value=""4"" />
<Member Name=""Long"" Value=""5"" />
<Member Name=""Real"" Value=""6"" />
<Member Name=""String"" Value=""7"" />
<Member Name=""Time"" Value=""8"" />
<Member Name=""DateTime"" Value=""9"" />
<Member Name=""Bool"" Value=""10"" />
</EnumType>
<EntityContainer Name=""NAV"">
<EntitySet Name=""GeneralJournal"" EntityType=""NAV.GeneralJournal"">
<Annotation Term=""Org.OData.Capabilities.V1.DeleteRestrictions"">
<Record>
<PropertyValue Property=""Deletable"" Bool=""true"" />
</Record>
</Annotation>
<Annotation Term=""Org.OData.Capabilities.V1.InsertRestrictions"">
<Record>
<PropertyValue Property=""Insertable"" Bool=""true"" />
</Record>
</Annotation>
<Annotation Term=""Org.OData.Capabilities.V1.UpdateRestrictions"">
<Record>
<PropertyValue Property=""Updatable"" Bool=""true"" />
</Record>
</Annotation>
<Annotation Term=""Org.OData.Core.V1.OptimisticConcurrency"">
<Collection>
<PropertyPath>ETag</PropertyPath>
</Collection>
</Annotation>
</EntitySet>
<EntitySet Name=""Company"" EntityType=""NAV.Company"">
<Annotation Term=""Org.OData.Capabilities.V1.DeleteRestrictions"">
<Record>
<PropertyValue Property=""Deletable"" Bool=""false"" />
</Record>
</Annotation>
<Annotation Term=""Org.OData.Capabilities.V1.InsertRestrictions"">
<Record>
<PropertyValue Property=""Insertable"" Bool=""false"" />
</Record>
</Annotation>
<Annotation Term=""Org.OData.Capabilities.V1.UpdateRestrictions"">
<Record>
<PropertyValue Property=""Updatable"" Bool=""false"" />
</Record>
</Annotation>
</EntitySet>
</EntityContainer>
</Schema>
</edmx:DataServices>
</edmx:Edmx>";
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
public static global::Microsoft.OData.Edm.IEdmModel GetInstance()
{
return ParsedModel;
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private static global::Microsoft.OData.Edm.IEdmModel LoadModelFromString()
{
global::System.Xml.XmlReader reader = CreateXmlReader(Edmx);
try
{
return global::Microsoft.OData.Edm.Csdl.EdmxReader.Parse(reader);
}
finally
{
((global::System.IDisposable)(reader)).Dispose();
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private static global::System.Xml.XmlReader CreateXmlReader(string edmxToParse)
{
return global::System.Xml.XmlReader.Create(new global::System.IO.StringReader(edmxToParse));
}
}
}
/// <summary>
/// There are no comments for GeneralJournalSingle in the schema.
/// </summary>
[global::Microsoft.OData.Client.OriginalNameAttribute("GeneralJournalSingle")]
public partial class GeneralJournalSingle : global::Microsoft.OData.Client.DataServiceQuerySingle<GeneralJournal>
{
/// <summary>
/// Initialize a new GeneralJournalSingle object.
/// </summary>
public GeneralJournalSingle(global::Microsoft.OData.Client.DataServiceContext context, string path)
: base(context, path) {}
/// <summary>
/// Initialize a new GeneralJournalSingle object.
/// </summary>
public GeneralJournalSingle(global::Microsoft.OData.Client.DataServiceContext context, string path, bool isComposable)
: base(context, path, isComposable) {}
/// <summary>
/// Initialize a new GeneralJournalSingle object.
/// </summary>
public GeneralJournalSingle(global::Microsoft.OData.Client.DataServiceQuerySingle<GeneralJournal> query)
: base(query) {}
}
/// <summary>
/// There are no comments for GeneralJournal in the schema.
/// </summary>
/// <KeyProperties>
/// Journal_Template_Name
/// Journal_Batch_Name
/// Line_No
/// </KeyProperties>
[global::Microsoft.OData.Client.Key("Journal_Template_Name", "Journal_Batch_Name", "Line_No")]
[global::Microsoft.OData.Client.EntitySet("GeneralJournal")]
[global::Microsoft.OData.Client.OriginalNameAttribute("GeneralJournal")]
public partial class GeneralJournal : global::Microsoft.OData.Client.BaseEntityType, global::System.ComponentModel.INotifyPropertyChanged
{
/// <summary>
/// Create a new GeneralJournal object.
/// </summary>
/// <param name="journal_Template_Name">Initial value of Journal_Template_Name.</param>
/// <param name="journal_Batch_Name">Initial value of Journal_Batch_Name.</param>
/// <param name="line_No">Initial value of Line_No.</param>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
public static GeneralJournal CreateGeneralJournal(string journal_Template_Name, string journal_Batch_Name, int line_No)
{
GeneralJournal generalJournal = new GeneralJournal();
generalJournal.Journal_Template_Name = journal_Template_Name;
generalJournal.Journal_Batch_Name = journal_Batch_Name;
generalJournal.Line_No = line_No;
return generalJournal;
}
/// <summary>
/// There are no comments for Property Journal_Template_Name in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("Journal_Template_Name")]
public string Journal_Template_Name
{
get
{
return this._Journal_Template_Name;
}
set
{
this.OnJournal_Template_NameChanging(value);
this._Journal_Template_Name = value;
this.OnJournal_Template_NameChanged();
this.OnPropertyChanged("Journal_Template_Name");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private string _Journal_Template_Name;
partial void OnJournal_Template_NameChanging(string value);
partial void OnJournal_Template_NameChanged();
/// <summary>
/// There are no comments for Property Journal_Batch_Name in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("Journal_Batch_Name")]
public string Journal_Batch_Name
{
get
{
return this._Journal_Batch_Name;
}
set
{
this.OnJournal_Batch_NameChanging(value);
this._Journal_Batch_Name = value;
this.OnJournal_Batch_NameChanged();
this.OnPropertyChanged("Journal_Batch_Name");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private string _Journal_Batch_Name;
partial void OnJournal_Batch_NameChanging(string value);
partial void OnJournal_Batch_NameChanged();
/// <summary>
/// There are no comments for Property Line_No in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("Line_No")]
public int Line_No
{
get
{
return this._Line_No;
}
set
{
this.OnLine_NoChanging(value);
this._Line_No = value;
this.OnLine_NoChanged();
this.OnPropertyChanged("Line_No");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private int _Line_No;
partial void OnLine_NoChanging(int value);
partial void OnLine_NoChanged();
/// <summary>
/// There are no comments for Property Posting_Date in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("Posting_Date")]
public global::System.Nullable<global::System.DateTimeOffset> Posting_Date
{
get
{
return this._Posting_Date;
}
set
{
this.OnPosting_DateChanging(value);
this._Posting_Date = value;
this.OnPosting_DateChanged();
this.OnPropertyChanged("Posting_Date");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private global::System.Nullable<global::System.DateTimeOffset> _Posting_Date;
partial void OnPosting_DateChanging(global::System.Nullable<global::System.DateTimeOffset> value);
partial void OnPosting_DateChanged();
/// <summary>
/// There are no comments for Property Document_Date in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("Document_Date")]
public global::System.Nullable<global::System.DateTimeOffset> Document_Date
{
get
{
return this._Document_Date;
}
set
{
this.OnDocument_DateChanging(value);
this._Document_Date = value;
this.OnDocument_DateChanged();
this.OnPropertyChanged("Document_Date");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private global::System.Nullable<global::System.DateTimeOffset> _Document_Date;
partial void OnDocument_DateChanging(global::System.Nullable<global::System.DateTimeOffset> value);
partial void OnDocument_DateChanged();
/// <summary>
/// There are no comments for Property Document_Type in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("Document_Type")]
public string Document_Type
{
get
{
return this._Document_Type;
}
set
{
this.OnDocument_TypeChanging(value);
this._Document_Type = value;
this.OnDocument_TypeChanged();
this.OnPropertyChanged("Document_Type");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private string _Document_Type;
partial void OnDocument_TypeChanging(string value);
partial void OnDocument_TypeChanged();
/// <summary>
/// There are no comments for Property Document_No in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("Document_No")]
public string Document_No
{
get
{
return this._Document_No;
}
set
{
this.OnDocument_NoChanging(value);
this._Document_No = value;
this.OnDocument_NoChanged();
this.OnPropertyChanged("Document_No");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private string _Document_No;
partial void OnDocument_NoChanging(string value);
partial void OnDocument_NoChanged();
/// <summary>
/// There are no comments for Property Incoming_Document_Entry_No in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("Incoming_Document_Entry_No")]
public global::System.Nullable<int> Incoming_Document_Entry_No
{
get
{
return this._Incoming_Document_Entry_No;
}
set
{
this.OnIncoming_Document_Entry_NoChanging(value);
this._Incoming_Document_Entry_No = value;
this.OnIncoming_Document_Entry_NoChanged();
this.OnPropertyChanged("Incoming_Document_Entry_No");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private global::System.Nullable<int> _Incoming_Document_Entry_No;
partial void OnIncoming_Document_Entry_NoChanging(global::System.Nullable<int> value);
partial void OnIncoming_Document_Entry_NoChanged();
/// <summary>
/// There are no comments for Property External_Document_No in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("External_Document_No")]
public string External_Document_No
{
get
{
return this._External_Document_No;
}
set
{
this.OnExternal_Document_NoChanging(value);
this._External_Document_No = value;
this.OnExternal_Document_NoChanged();
this.OnPropertyChanged("External_Document_No");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private string _External_Document_No;
partial void OnExternal_Document_NoChanging(string value);
partial void OnExternal_Document_NoChanged();
/// <summary>
/// There are no comments for Property Applies_to_Ext_Doc_No in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("Applies_to_Ext_Doc_No")]
public string Applies_to_Ext_Doc_No
{
get
{
return this._Applies_to_Ext_Doc_No;
}
set
{
this.OnApplies_to_Ext_Doc_NoChanging(value);
this._Applies_to_Ext_Doc_No = value;
this.OnApplies_to_Ext_Doc_NoChanged();
this.OnPropertyChanged("Applies_to_Ext_Doc_No");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private string _Applies_to_Ext_Doc_No;
partial void OnApplies_to_Ext_Doc_NoChanging(string value);
partial void OnApplies_to_Ext_Doc_NoChanged();
/// <summary>
/// There are no comments for Property Account_Type in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("Account_Type")]
public string Account_Type
{
get
{
return this._Account_Type;
}
set
{
this.OnAccount_TypeChanging(value);
this._Account_Type = value;
this.OnAccount_TypeChanged();
this.OnPropertyChanged("Account_Type");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private string _Account_Type;
partial void OnAccount_TypeChanging(string value);
partial void OnAccount_TypeChanged();
/// <summary>
/// There are no comments for Property Account_No in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("Account_No")]
public string Account_No
{
get
{
return this._Account_No;
}
set
{
this.OnAccount_NoChanging(value);
this._Account_No = value;
this.OnAccount_NoChanged();
this.OnPropertyChanged("Account_No");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private string _Account_No;
partial void OnAccount_NoChanging(string value);
partial void OnAccount_NoChanged();
/// <summary>
/// There are no comments for Property Description in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("Description")]
public string Description
{
get
{
return this._Description;
}
set
{
this.OnDescriptionChanging(value);
this._Description = value;
this.OnDescriptionChanged();
this.OnPropertyChanged("Description");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private string _Description;
partial void OnDescriptionChanging(string value);
partial void OnDescriptionChanged();
/// <summary>
/// There are no comments for Property Payer_Information in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("Payer_Information")]
public string Payer_Information
{
get
{
return this._Payer_Information;
}
set
{
this.OnPayer_InformationChanging(value);
this._Payer_Information = value;
this.OnPayer_InformationChanged();
this.OnPropertyChanged("Payer_Information");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private string _Payer_Information;
partial void OnPayer_InformationChanging(string value);
partial void OnPayer_InformationChanged();
/// <summary>
/// There are no comments for Property Transaction_Information in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("Transaction_Information")]
public string Transaction_Information
{
get
{
return this._Transaction_Information;
}
set
{
this.OnTransaction_InformationChanging(value);
this._Transaction_Information = value;
this.OnTransaction_InformationChanged();
this.OnPropertyChanged("Transaction_Information");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private string _Transaction_Information;
partial void OnTransaction_InformationChanging(string value);
partial void OnTransaction_InformationChanged();
/// <summary>
/// There are no comments for Property Business_Unit_Code in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("Business_Unit_Code")]
public string Business_Unit_Code
{
get
{
return this._Business_Unit_Code;
}
set
{
this.OnBusiness_Unit_CodeChanging(value);
this._Business_Unit_Code = value;
this.OnBusiness_Unit_CodeChanged();
this.OnPropertyChanged("Business_Unit_Code");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private string _Business_Unit_Code;
partial void OnBusiness_Unit_CodeChanging(string value);
partial void OnBusiness_Unit_CodeChanged();
/// <summary>
/// There are no comments for Property Salespers_Purch_Code in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("Salespers_Purch_Code")]
public string Salespers_Purch_Code
{
get
{
return this._Salespers_Purch_Code;
}
set
{
this.OnSalespers_Purch_CodeChanging(value);
this._Salespers_Purch_Code = value;
this.OnSalespers_Purch_CodeChanged();
this.OnPropertyChanged("Salespers_Purch_Code");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private string _Salespers_Purch_Code;
partial void OnSalespers_Purch_CodeChanging(string value);
partial void OnSalespers_Purch_CodeChanged();
/// <summary>
/// There are no comments for Property Campaign_No in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("Campaign_No")]
public string Campaign_No
{
get
{
return this._Campaign_No;
}
set
{
this.OnCampaign_NoChanging(value);
this._Campaign_No = value;
this.OnCampaign_NoChanged();
this.OnPropertyChanged("Campaign_No");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private string _Campaign_No;
partial void OnCampaign_NoChanging(string value);
partial void OnCampaign_NoChanged();
/// <summary>
/// There are no comments for Property Currency_Code in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("Currency_Code")]
public string Currency_Code
{
get
{
return this._Currency_Code;
}
set
{
this.OnCurrency_CodeChanging(value);
this._Currency_Code = value;
this.OnCurrency_CodeChanged();
this.OnPropertyChanged("Currency_Code");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private string _Currency_Code;
partial void OnCurrency_CodeChanging(string value);
partial void OnCurrency_CodeChanged();
/// <summary>
/// There are no comments for Property Gen_Posting_Type in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("Gen_Posting_Type")]
public string Gen_Posting_Type
{
get
{
return this._Gen_Posting_Type;
}
set
{
this.OnGen_Posting_TypeChanging(value);
this._Gen_Posting_Type = value;
this.OnGen_Posting_TypeChanged();
this.OnPropertyChanged("Gen_Posting_Type");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private string _Gen_Posting_Type;
partial void OnGen_Posting_TypeChanging(string value);
partial void OnGen_Posting_TypeChanged();
/// <summary>
/// There are no comments for Property Gen_Bus_Posting_Group in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("Gen_Bus_Posting_Group")]
public string Gen_Bus_Posting_Group
{
get
{
return this._Gen_Bus_Posting_Group;
}
set
{
this.OnGen_Bus_Posting_GroupChanging(value);
this._Gen_Bus_Posting_Group = value;
this.OnGen_Bus_Posting_GroupChanged();
this.OnPropertyChanged("Gen_Bus_Posting_Group");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private string _Gen_Bus_Posting_Group;
partial void OnGen_Bus_Posting_GroupChanging(string value);
partial void OnGen_Bus_Posting_GroupChanged();
/// <summary>
/// There are no comments for Property Gen_Prod_Posting_Group in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("Gen_Prod_Posting_Group")]
public string Gen_Prod_Posting_Group
{
get
{
return this._Gen_Prod_Posting_Group;
}
set
{
this.OnGen_Prod_Posting_GroupChanging(value);
this._Gen_Prod_Posting_Group = value;
this.OnGen_Prod_Posting_GroupChanged();
this.OnPropertyChanged("Gen_Prod_Posting_Group");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private string _Gen_Prod_Posting_Group;
partial void OnGen_Prod_Posting_GroupChanging(string value);
partial void OnGen_Prod_Posting_GroupChanged();
/// <summary>
/// There are no comments for Property VAT_Bus_Posting_Group in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("VAT_Bus_Posting_Group")]
public string VAT_Bus_Posting_Group
{
get
{
return this._VAT_Bus_Posting_Group;
}
set
{
this.OnVAT_Bus_Posting_GroupChanging(value);
this._VAT_Bus_Posting_Group = value;
this.OnVAT_Bus_Posting_GroupChanged();
this.OnPropertyChanged("VAT_Bus_Posting_Group");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private string _VAT_Bus_Posting_Group;
partial void OnVAT_Bus_Posting_GroupChanging(string value);
partial void OnVAT_Bus_Posting_GroupChanged();
/// <summary>
/// There are no comments for Property VAT_Prod_Posting_Group in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("VAT_Prod_Posting_Group")]
public string VAT_Prod_Posting_Group
{
get
{
return this._VAT_Prod_Posting_Group;
}
set
{
this.OnVAT_Prod_Posting_GroupChanging(value);
this._VAT_Prod_Posting_Group = value;
this.OnVAT_Prod_Posting_GroupChanged();
this.OnPropertyChanged("VAT_Prod_Posting_Group");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private string _VAT_Prod_Posting_Group;
partial void OnVAT_Prod_Posting_GroupChanging(string value);
partial void OnVAT_Prod_Posting_GroupChanged();
/// <summary>
/// There are no comments for Property Debit_Amount in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("Debit_Amount")]
public global::System.Nullable<decimal> Debit_Amount
{
get
{
return this._Debit_Amount;
}
set
{
this.OnDebit_AmountChanging(value);
this._Debit_Amount = value;
this.OnDebit_AmountChanged();
this.OnPropertyChanged("Debit_Amount");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private global::System.Nullable<decimal> _Debit_Amount;
partial void OnDebit_AmountChanging(global::System.Nullable<decimal> value);
partial void OnDebit_AmountChanged();
/// <summary>
/// There are no comments for Property Credit_Amount in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("Credit_Amount")]
public global::System.Nullable<decimal> Credit_Amount
{
get
{
return this._Credit_Amount;
}
set
{
this.OnCredit_AmountChanging(value);
this._Credit_Amount = value;
this.OnCredit_AmountChanged();
this.OnPropertyChanged("Credit_Amount");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private global::System.Nullable<decimal> _Credit_Amount;
partial void OnCredit_AmountChanging(global::System.Nullable<decimal> value);
partial void OnCredit_AmountChanged();
/// <summary>
/// There are no comments for Property Tax_Liable in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("Tax_Liable")]
public global::System.Nullable<bool> Tax_Liable
{
get
{
return this._Tax_Liable;
}
set
{
this.OnTax_LiableChanging(value);
this._Tax_Liable = value;
this.OnTax_LiableChanged();
this.OnPropertyChanged("Tax_Liable");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private global::System.Nullable<bool> _Tax_Liable;
partial void OnTax_LiableChanging(global::System.Nullable<bool> value);
partial void OnTax_LiableChanged();
/// <summary>
/// There are no comments for Property Tax_Area_Code in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("Tax_Area_Code")]
public string Tax_Area_Code
{
get
{
return this._Tax_Area_Code;
}
set
{
this.OnTax_Area_CodeChanging(value);
this._Tax_Area_Code = value;
this.OnTax_Area_CodeChanged();
this.OnPropertyChanged("Tax_Area_Code");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private string _Tax_Area_Code;
partial void OnTax_Area_CodeChanging(string value);
partial void OnTax_Area_CodeChanged();
/// <summary>
/// There are no comments for Property Tax_Group_Code in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("Tax_Group_Code")]
public string Tax_Group_Code
{
get
{
return this._Tax_Group_Code;
}
set
{
this.OnTax_Group_CodeChanging(value);
this._Tax_Group_Code = value;
this.OnTax_Group_CodeChanged();
this.OnPropertyChanged("Tax_Group_Code");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private string _Tax_Group_Code;
partial void OnTax_Group_CodeChanging(string value);
partial void OnTax_Group_CodeChanged();
/// <summary>
/// There are no comments for Property Use_Tax in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("Use_Tax")]
public global::System.Nullable<bool> Use_Tax
{
get
{
return this._Use_Tax;
}
set
{
this.OnUse_TaxChanging(value);
this._Use_Tax = value;
this.OnUse_TaxChanged();
this.OnPropertyChanged("Use_Tax");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private global::System.Nullable<bool> _Use_Tax;
partial void OnUse_TaxChanging(global::System.Nullable<bool> value);
partial void OnUse_TaxChanged();
/// <summary>
/// There are no comments for Property Quantity in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("Quantity")]
public global::System.Nullable<decimal> Quantity
{
get
{
return this._Quantity;
}
set
{
this.OnQuantityChanging(value);
this._Quantity = value;
this.OnQuantityChanged();
this.OnPropertyChanged("Quantity");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private global::System.Nullable<decimal> _Quantity;
partial void OnQuantityChanging(global::System.Nullable<decimal> value);
partial void OnQuantityChanged();
/// <summary>
/// There are no comments for Property Amount in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("Amount")]
public global::System.Nullable<decimal> Amount
{
get
{
return this._Amount;
}
set
{
this.OnAmountChanging(value);
this._Amount = value;
this.OnAmountChanged();
this.OnPropertyChanged("Amount");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private global::System.Nullable<decimal> _Amount;
partial void OnAmountChanging(global::System.Nullable<decimal> value);
partial void OnAmountChanged();
/// <summary>
/// There are no comments for Property VAT_Amount in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("VAT_Amount")]
public global::System.Nullable<decimal> VAT_Amount
{
get
{
return this._VAT_Amount;
}
set
{
this.OnVAT_AmountChanging(value);
this._VAT_Amount = value;
this.OnVAT_AmountChanged();
this.OnPropertyChanged("VAT_Amount");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private global::System.Nullable<decimal> _VAT_Amount;
partial void OnVAT_AmountChanging(global::System.Nullable<decimal> value);
partial void OnVAT_AmountChanged();
/// <summary>
/// There are no comments for Property VAT_Difference in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("VAT_Difference")]
public global::System.Nullable<decimal> VAT_Difference
{
get
{
return this._VAT_Difference;
}
set
{
this.OnVAT_DifferenceChanging(value);
this._VAT_Difference = value;
this.OnVAT_DifferenceChanged();
this.OnPropertyChanged("VAT_Difference");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private global::System.Nullable<decimal> _VAT_Difference;
partial void OnVAT_DifferenceChanging(global::System.Nullable<decimal> value);
partial void OnVAT_DifferenceChanged();
/// <summary>
/// There are no comments for Property Bal_VAT_Amount in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("Bal_VAT_Amount")]
public global::System.Nullable<decimal> Bal_VAT_Amount
{
get
{
return this._Bal_VAT_Amount;
}
set
{
this.OnBal_VAT_AmountChanging(value);
this._Bal_VAT_Amount = value;
this.OnBal_VAT_AmountChanged();
this.OnPropertyChanged("Bal_VAT_Amount");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private global::System.Nullable<decimal> _Bal_VAT_Amount;
partial void OnBal_VAT_AmountChanging(global::System.Nullable<decimal> value);
partial void OnBal_VAT_AmountChanged();
/// <summary>
/// There are no comments for Property Bal_VAT_Difference in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("Bal_VAT_Difference")]
public global::System.Nullable<decimal> Bal_VAT_Difference
{
get
{
return this._Bal_VAT_Difference;
}
set
{
this.OnBal_VAT_DifferenceChanging(value);
this._Bal_VAT_Difference = value;
this.OnBal_VAT_DifferenceChanged();
this.OnPropertyChanged("Bal_VAT_Difference");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private global::System.Nullable<decimal> _Bal_VAT_Difference;
partial void OnBal_VAT_DifferenceChanging(global::System.Nullable<decimal> value);
partial void OnBal_VAT_DifferenceChanged();
/// <summary>
/// There are no comments for Property Bal_Account_Type in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("Bal_Account_Type")]
public string Bal_Account_Type
{
get
{
return this._Bal_Account_Type;
}
set
{
this.OnBal_Account_TypeChanging(value);
this._Bal_Account_Type = value;
this.OnBal_Account_TypeChanged();
this.OnPropertyChanged("Bal_Account_Type");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private string _Bal_Account_Type;
partial void OnBal_Account_TypeChanging(string value);
partial void OnBal_Account_TypeChanged();
/// <summary>
/// There are no comments for Property Bal_Account_No in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("Bal_Account_No")]
public string Bal_Account_No
{
get
{
return this._Bal_Account_No;
}
set
{
this.OnBal_Account_NoChanging(value);
this._Bal_Account_No = value;
this.OnBal_Account_NoChanged();
this.OnPropertyChanged("Bal_Account_No");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private string _Bal_Account_No;
partial void OnBal_Account_NoChanging(string value);
partial void OnBal_Account_NoChanged();
/// <summary>
/// There are no comments for Property Bal_Gen_Posting_Type in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("Bal_Gen_Posting_Type")]
public string Bal_Gen_Posting_Type
{
get
{
return this._Bal_Gen_Posting_Type;
}
set
{
this.OnBal_Gen_Posting_TypeChanging(value);
this._Bal_Gen_Posting_Type = value;
this.OnBal_Gen_Posting_TypeChanged();
this.OnPropertyChanged("Bal_Gen_Posting_Type");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private string _Bal_Gen_Posting_Type;
partial void OnBal_Gen_Posting_TypeChanging(string value);
partial void OnBal_Gen_Posting_TypeChanged();
/// <summary>
/// There are no comments for Property Bal_Gen_Bus_Posting_Group in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("Bal_Gen_Bus_Posting_Group")]
public string Bal_Gen_Bus_Posting_Group
{
get
{
return this._Bal_Gen_Bus_Posting_Group;
}
set
{
this.OnBal_Gen_Bus_Posting_GroupChanging(value);
this._Bal_Gen_Bus_Posting_Group = value;
this.OnBal_Gen_Bus_Posting_GroupChanged();
this.OnPropertyChanged("Bal_Gen_Bus_Posting_Group");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private string _Bal_Gen_Bus_Posting_Group;
partial void OnBal_Gen_Bus_Posting_GroupChanging(string value);
partial void OnBal_Gen_Bus_Posting_GroupChanged();
/// <summary>
/// There are no comments for Property Bal_Gen_Prod_Posting_Group in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("Bal_Gen_Prod_Posting_Group")]
public string Bal_Gen_Prod_Posting_Group
{
get
{
return this._Bal_Gen_Prod_Posting_Group;
}
set
{
this.OnBal_Gen_Prod_Posting_GroupChanging(value);
this._Bal_Gen_Prod_Posting_Group = value;
this.OnBal_Gen_Prod_Posting_GroupChanged();
this.OnPropertyChanged("Bal_Gen_Prod_Posting_Group");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private string _Bal_Gen_Prod_Posting_Group;
partial void OnBal_Gen_Prod_Posting_GroupChanging(string value);
partial void OnBal_Gen_Prod_Posting_GroupChanged();
/// <summary>
/// There are no comments for Property Deferral_Code in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("Deferral_Code")]
public string Deferral_Code
{
get
{
return this._Deferral_Code;
}
set
{
this.OnDeferral_CodeChanging(value);
this._Deferral_Code = value;
this.OnDeferral_CodeChanged();
this.OnPropertyChanged("Deferral_Code");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private string _Deferral_Code;
partial void OnDeferral_CodeChanging(string value);
partial void OnDeferral_CodeChanged();
/// <summary>
/// There are no comments for Property Bal_VAT_Bus_Posting_Group in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("Bal_VAT_Bus_Posting_Group")]
public string Bal_VAT_Bus_Posting_Group
{
get
{
return this._Bal_VAT_Bus_Posting_Group;
}
set
{
this.OnBal_VAT_Bus_Posting_GroupChanging(value);
this._Bal_VAT_Bus_Posting_Group = value;
this.OnBal_VAT_Bus_Posting_GroupChanged();
this.OnPropertyChanged("Bal_VAT_Bus_Posting_Group");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private string _Bal_VAT_Bus_Posting_Group;
partial void OnBal_VAT_Bus_Posting_GroupChanging(string value);
partial void OnBal_VAT_Bus_Posting_GroupChanged();
/// <summary>
/// There are no comments for Property Bal_VAT_Prod_Posting_Group in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("Bal_VAT_Prod_Posting_Group")]
public string Bal_VAT_Prod_Posting_Group
{
get
{
return this._Bal_VAT_Prod_Posting_Group;
}
set
{
this.OnBal_VAT_Prod_Posting_GroupChanging(value);
this._Bal_VAT_Prod_Posting_Group = value;
this.OnBal_VAT_Prod_Posting_GroupChanged();
this.OnPropertyChanged("Bal_VAT_Prod_Posting_Group");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private string _Bal_VAT_Prod_Posting_Group;
partial void OnBal_VAT_Prod_Posting_GroupChanging(string value);
partial void OnBal_VAT_Prod_Posting_GroupChanged();
/// <summary>
/// There are no comments for Property Bill_to_Pay_to_No in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("Bill_to_Pay_to_No")]
public string Bill_to_Pay_to_No
{
get
{
return this._Bill_to_Pay_to_No;
}
set
{
this.OnBill_to_Pay_to_NoChanging(value);
this._Bill_to_Pay_to_No = value;
this.OnBill_to_Pay_to_NoChanged();
this.OnPropertyChanged("Bill_to_Pay_to_No");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private string _Bill_to_Pay_to_No;
partial void OnBill_to_Pay_to_NoChanging(string value);
partial void OnBill_to_Pay_to_NoChanged();
/// <summary>
/// There are no comments for Property Ship_to_Order_Address_Code in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("Ship_to_Order_Address_Code")]
public string Ship_to_Order_Address_Code
{
get
{
return this._Ship_to_Order_Address_Code;
}
set
{
this.OnShip_to_Order_Address_CodeChanging(value);
this._Ship_to_Order_Address_Code = value;
this.OnShip_to_Order_Address_CodeChanged();
this.OnPropertyChanged("Ship_to_Order_Address_Code");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private string _Ship_to_Order_Address_Code;
partial void OnShip_to_Order_Address_CodeChanging(string value);
partial void OnShip_to_Order_Address_CodeChanged();
/// <summary>
/// There are no comments for Property Shortcut_Dimension_1_Code in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("Shortcut_Dimension_1_Code")]
public string Shortcut_Dimension_1_Code
{
get
{
return this._Shortcut_Dimension_1_Code;
}
set
{
this.OnShortcut_Dimension_1_CodeChanging(value);
this._Shortcut_Dimension_1_Code = value;
this.OnShortcut_Dimension_1_CodeChanged();
this.OnPropertyChanged("Shortcut_Dimension_1_Code");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private string _Shortcut_Dimension_1_Code;
partial void OnShortcut_Dimension_1_CodeChanging(string value);
partial void OnShortcut_Dimension_1_CodeChanged();
/// <summary>
/// There are no comments for Property Shortcut_Dimension_2_Code in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("Shortcut_Dimension_2_Code")]
public string Shortcut_Dimension_2_Code
{
get
{
return this._Shortcut_Dimension_2_Code;
}
set
{
this.OnShortcut_Dimension_2_CodeChanging(value);
this._Shortcut_Dimension_2_Code = value;
this.OnShortcut_Dimension_2_CodeChanged();
this.OnPropertyChanged("Shortcut_Dimension_2_Code");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private string _Shortcut_Dimension_2_Code;
partial void OnShortcut_Dimension_2_CodeChanging(string value);
partial void OnShortcut_Dimension_2_CodeChanged();
/// <summary>
/// There are no comments for Property ShortcutDimCode_x005B_3_x005D_ in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("ShortcutDimCode_x005B_3_x005D_")]
public string ShortcutDimCode_x005B_3_x005D_
{
get
{
return this._ShortcutDimCode_x005B_3_x005D_;
}
set
{
this.OnShortcutDimCode_x005B_3_x005D_Changing(value);
this._ShortcutDimCode_x005B_3_x005D_ = value;
this.OnShortcutDimCode_x005B_3_x005D_Changed();
this.OnPropertyChanged("ShortcutDimCode_x005B_3_x005D_");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private string _ShortcutDimCode_x005B_3_x005D_;
partial void OnShortcutDimCode_x005B_3_x005D_Changing(string value);
partial void OnShortcutDimCode_x005B_3_x005D_Changed();
/// <summary>
/// There are no comments for Property ShortcutDimCode_x005B_4_x005D_ in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("ShortcutDimCode_x005B_4_x005D_")]
public string ShortcutDimCode_x005B_4_x005D_
{
get
{
return this._ShortcutDimCode_x005B_4_x005D_;
}
set
{
this.OnShortcutDimCode_x005B_4_x005D_Changing(value);
this._ShortcutDimCode_x005B_4_x005D_ = value;
this.OnShortcutDimCode_x005B_4_x005D_Changed();
this.OnPropertyChanged("ShortcutDimCode_x005B_4_x005D_");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private string _ShortcutDimCode_x005B_4_x005D_;
partial void OnShortcutDimCode_x005B_4_x005D_Changing(string value);
partial void OnShortcutDimCode_x005B_4_x005D_Changed();
/// <summary>
/// There are no comments for Property ShortcutDimCode_x005B_5_x005D_ in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("ShortcutDimCode_x005B_5_x005D_")]
public string ShortcutDimCode_x005B_5_x005D_
{
get
{
return this._ShortcutDimCode_x005B_5_x005D_;
}
set
{
this.OnShortcutDimCode_x005B_5_x005D_Changing(value);
this._ShortcutDimCode_x005B_5_x005D_ = value;
this.OnShortcutDimCode_x005B_5_x005D_Changed();
this.OnPropertyChanged("ShortcutDimCode_x005B_5_x005D_");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private string _ShortcutDimCode_x005B_5_x005D_;
partial void OnShortcutDimCode_x005B_5_x005D_Changing(string value);
partial void OnShortcutDimCode_x005B_5_x005D_Changed();
/// <summary>
/// There are no comments for Property ShortcutDimCode_x005B_6_x005D_ in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("ShortcutDimCode_x005B_6_x005D_")]
public string ShortcutDimCode_x005B_6_x005D_
{
get
{
return this._ShortcutDimCode_x005B_6_x005D_;
}
set
{
this.OnShortcutDimCode_x005B_6_x005D_Changing(value);
this._ShortcutDimCode_x005B_6_x005D_ = value;
this.OnShortcutDimCode_x005B_6_x005D_Changed();
this.OnPropertyChanged("ShortcutDimCode_x005B_6_x005D_");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private string _ShortcutDimCode_x005B_6_x005D_;
partial void OnShortcutDimCode_x005B_6_x005D_Changing(string value);
partial void OnShortcutDimCode_x005B_6_x005D_Changed();
/// <summary>
/// There are no comments for Property ShortcutDimCode_x005B_7_x005D_ in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("ShortcutDimCode_x005B_7_x005D_")]
public string ShortcutDimCode_x005B_7_x005D_
{
get
{
return this._ShortcutDimCode_x005B_7_x005D_;
}
set
{
this.OnShortcutDimCode_x005B_7_x005D_Changing(value);
this._ShortcutDimCode_x005B_7_x005D_ = value;
this.OnShortcutDimCode_x005B_7_x005D_Changed();
this.OnPropertyChanged("ShortcutDimCode_x005B_7_x005D_");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private string _ShortcutDimCode_x005B_7_x005D_;
partial void OnShortcutDimCode_x005B_7_x005D_Changing(string value);
partial void OnShortcutDimCode_x005B_7_x005D_Changed();
/// <summary>
/// There are no comments for Property ShortcutDimCode_x005B_8_x005D_ in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("ShortcutDimCode_x005B_8_x005D_")]
public string ShortcutDimCode_x005B_8_x005D_
{
get
{
return this._ShortcutDimCode_x005B_8_x005D_;
}
set
{
this.OnShortcutDimCode_x005B_8_x005D_Changing(value);
this._ShortcutDimCode_x005B_8_x005D_ = value;
this.OnShortcutDimCode_x005B_8_x005D_Changed();
this.OnPropertyChanged("ShortcutDimCode_x005B_8_x005D_");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private string _ShortcutDimCode_x005B_8_x005D_;
partial void OnShortcutDimCode_x005B_8_x005D_Changing(string value);
partial void OnShortcutDimCode_x005B_8_x005D_Changed();
/// <summary>
/// There are no comments for Property Payment_Terms_Code in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("Payment_Terms_Code")]
public string Payment_Terms_Code
{
get
{
return this._Payment_Terms_Code;
}
set
{
this.OnPayment_Terms_CodeChanging(value);
this._Payment_Terms_Code = value;
this.OnPayment_Terms_CodeChanged();
this.OnPropertyChanged("Payment_Terms_Code");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private string _Payment_Terms_Code;
partial void OnPayment_Terms_CodeChanging(string value);
partial void OnPayment_Terms_CodeChanged();
/// <summary>
/// There are no comments for Property Applied_Automatically in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("Applied_Automatically")]
public global::System.Nullable<bool> Applied_Automatically
{
get
{
return this._Applied_Automatically;
}
set
{
this.OnApplied_AutomaticallyChanging(value);
this._Applied_Automatically = value;
this.OnApplied_AutomaticallyChanged();
this.OnPropertyChanged("Applied_Automatically");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private global::System.Nullable<bool> _Applied_Automatically;
partial void OnApplied_AutomaticallyChanging(global::System.Nullable<bool> value);
partial void OnApplied_AutomaticallyChanged();
/// <summary>
/// There are no comments for Property Applied in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("Applied")]
public global::System.Nullable<bool> Applied
{
get
{
return this._Applied;
}
set
{
this.OnAppliedChanging(value);
this._Applied = value;
this.OnAppliedChanged();
this.OnPropertyChanged("Applied");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private global::System.Nullable<bool> _Applied;
partial void OnAppliedChanging(global::System.Nullable<bool> value);
partial void OnAppliedChanged();
/// <summary>
/// There are no comments for Property Applies_to_Doc_Type in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("Applies_to_Doc_Type")]
public string Applies_to_Doc_Type
{
get
{
return this._Applies_to_Doc_Type;
}
set
{
this.OnApplies_to_Doc_TypeChanging(value);
this._Applies_to_Doc_Type = value;
this.OnApplies_to_Doc_TypeChanged();
this.OnPropertyChanged("Applies_to_Doc_Type");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private string _Applies_to_Doc_Type;
partial void OnApplies_to_Doc_TypeChanging(string value);
partial void OnApplies_to_Doc_TypeChanged();
/// <summary>
/// There are no comments for Property Applies_to_Doc_No in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("Applies_to_Doc_No")]
public string Applies_to_Doc_No
{
get
{
return this._Applies_to_Doc_No;
}
set
{
this.OnApplies_to_Doc_NoChanging(value);
this._Applies_to_Doc_No = value;
this.OnApplies_to_Doc_NoChanged();
this.OnPropertyChanged("Applies_to_Doc_No");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private string _Applies_to_Doc_No;
partial void OnApplies_to_Doc_NoChanging(string value);
partial void OnApplies_to_Doc_NoChanged();
/// <summary>
/// There are no comments for Property Applies_to_ID in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("Applies_to_ID")]
public string Applies_to_ID
{
get
{
return this._Applies_to_ID;
}
set
{
this.OnApplies_to_IDChanging(value);
this._Applies_to_ID = value;
this.OnApplies_to_IDChanged();
this.OnPropertyChanged("Applies_to_ID");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private string _Applies_to_ID;
partial void OnApplies_to_IDChanging(string value);
partial void OnApplies_to_IDChanged();
/// <summary>
/// There are no comments for Property On_Hold in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("On_Hold")]
public string On_Hold
{
get
{
return this._On_Hold;
}
set
{
this.OnOn_HoldChanging(value);
this._On_Hold = value;
this.OnOn_HoldChanged();
this.OnPropertyChanged("On_Hold");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private string _On_Hold;
partial void OnOn_HoldChanging(string value);
partial void OnOn_HoldChanged();
/// <summary>
/// There are no comments for Property Bank_Payment_Type in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("Bank_Payment_Type")]
public string Bank_Payment_Type
{
get
{
return this._Bank_Payment_Type;
}
set
{
this.OnBank_Payment_TypeChanging(value);
this._Bank_Payment_Type = value;
this.OnBank_Payment_TypeChanged();
this.OnPropertyChanged("Bank_Payment_Type");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private string _Bank_Payment_Type;
partial void OnBank_Payment_TypeChanging(string value);
partial void OnBank_Payment_TypeChanged();
/// <summary>
/// There are no comments for Property Reason_Code in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("Reason_Code")]
public string Reason_Code
{
get
{
return this._Reason_Code;
}
set
{
this.OnReason_CodeChanging(value);
this._Reason_Code = value;
this.OnReason_CodeChanged();
this.OnPropertyChanged("Reason_Code");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private string _Reason_Code;
partial void OnReason_CodeChanging(string value);
partial void OnReason_CodeChanged();
/// <summary>
/// There are no comments for Property Comment in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("Comment")]
public string Comment
{
get
{
return this._Comment;
}
set
{
this.OnCommentChanging(value);
this._Comment = value;
this.OnCommentChanged();
this.OnPropertyChanged("Comment");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private string _Comment;
partial void OnCommentChanging(string value);
partial void OnCommentChanged();
/// <summary>
/// There are no comments for Property Direct_Debit_Mandate_ID in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("Direct_Debit_Mandate_ID")]
public string Direct_Debit_Mandate_ID
{
get
{
return this._Direct_Debit_Mandate_ID;
}
set
{
this.OnDirect_Debit_Mandate_IDChanging(value);
this._Direct_Debit_Mandate_ID = value;
this.OnDirect_Debit_Mandate_IDChanged();
this.OnPropertyChanged("Direct_Debit_Mandate_ID");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private string _Direct_Debit_Mandate_ID;
partial void OnDirect_Debit_Mandate_IDChanging(string value);
partial void OnDirect_Debit_Mandate_IDChanged();
/// <summary>
/// There are no comments for Property AccName in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("AccName")]
public string AccName
{
get
{
return this._AccName;
}
set
{
this.OnAccNameChanging(value);
this._AccName = value;
this.OnAccNameChanged();
this.OnPropertyChanged("AccName");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private string _AccName;
partial void OnAccNameChanging(string value);
partial void OnAccNameChanged();
/// <summary>
/// There are no comments for Property BalAccName in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("BalAccName")]
public string BalAccName
{
get
{
return this._BalAccName;
}
set
{
this.OnBalAccNameChanging(value);
this._BalAccName = value;
this.OnBalAccNameChanged();
this.OnPropertyChanged("BalAccName");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private string _BalAccName;
partial void OnBalAccNameChanging(string value);
partial void OnBalAccNameChanged();
/// <summary>
/// There are no comments for Property Balance in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("Balance")]
public global::System.Nullable<decimal> Balance
{
get
{
return this._Balance;
}
set
{
this.OnBalanceChanging(value);
this._Balance = value;
this.OnBalanceChanged();
this.OnPropertyChanged("Balance");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private global::System.Nullable<decimal> _Balance;
partial void OnBalanceChanging(global::System.Nullable<decimal> value);
partial void OnBalanceChanged();
/// <summary>
/// There are no comments for Property TotalBalance in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("TotalBalance")]
public global::System.Nullable<decimal> TotalBalance
{
get
{
return this._TotalBalance;
}
set
{
this.OnTotalBalanceChanging(value);
this._TotalBalance = value;
this.OnTotalBalanceChanged();
this.OnPropertyChanged("TotalBalance");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private global::System.Nullable<decimal> _TotalBalance;
partial void OnTotalBalanceChanging(global::System.Nullable<decimal> value);
partial void OnTotalBalanceChanged();
/// <summary>
/// There are no comments for Property ETag in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("ETag")]
public string ETag
{
get
{
return this._ETag;
}
set
{
this.OnETagChanging(value);
this._ETag = value;
this.OnETagChanged();
this.OnPropertyChanged("ETag");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private string _ETag;
partial void OnETagChanging(string value);
partial void OnETagChanged();
/// <summary>
/// This event is raised when the value of the property is changed
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
public event global::System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
/// <summary>
/// The value of the property is changed
/// </summary>
/// <param name="property">property name</param>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
protected virtual void OnPropertyChanged(string property)
{
if ((this.PropertyChanged != null))
{
this.PropertyChanged(this, new global::System.ComponentModel.PropertyChangedEventArgs(property));
}
}
}
/// <summary>
/// There are no comments for CompanySingle in the schema.
/// </summary>
[global::Microsoft.OData.Client.OriginalNameAttribute("CompanySingle")]
public partial class CompanySingle : global::Microsoft.OData.Client.DataServiceQuerySingle<Company>
{
/// <summary>
/// Initialize a new CompanySingle object.
/// </summary>
public CompanySingle(global::Microsoft.OData.Client.DataServiceContext context, string path)
: base(context, path) {}
/// <summary>
/// Initialize a new CompanySingle object.
/// </summary>
public CompanySingle(global::Microsoft.OData.Client.DataServiceContext context, string path, bool isComposable)
: base(context, path, isComposable) {}
/// <summary>
/// Initialize a new CompanySingle object.
/// </summary>
public CompanySingle(global::Microsoft.OData.Client.DataServiceQuerySingle<Company> query)
: base(query) {}
/// <summary>
/// There are no comments for GeneralJournal in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("GeneralJournal")]
public global::Microsoft.OData.Client.DataServiceQuery<global::ODataClientCodeGeneratorSample.GeneralJournal> GeneralJournal
{
get
{
if (!this.IsComposable)
{
throw new global::System.NotSupportedException("The previous function is not composable.");
}
if ((this._GeneralJournal == null))
{
this._GeneralJournal = Context.CreateQuery<global::ODataClientCodeGeneratorSample.GeneralJournal>(GetPath("GeneralJournal"));
}
return this._GeneralJournal;
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private global::Microsoft.OData.Client.DataServiceQuery<global::ODataClientCodeGeneratorSample.GeneralJournal> _GeneralJournal;
}
/// <summary>
/// There are no comments for Company in the schema.
/// </summary>
/// <KeyProperties>
/// Name
/// </KeyProperties>
[global::Microsoft.OData.Client.Key("Name")]
[global::Microsoft.OData.Client.EntitySet("Company")]
[global::Microsoft.OData.Client.OriginalNameAttribute("Company")]
public partial class Company : global::Microsoft.OData.Client.BaseEntityType, global::System.ComponentModel.INotifyPropertyChanged
{
/// <summary>
/// Create a new Company object.
/// </summary>
/// <param name="name">Initial value of Name.</param>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
public static Company CreateCompany(string name)
{
Company company = new Company();
company.Name = name;
return company;
}
/// <summary>
/// There are no comments for Property Name in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("Name")]
public string Name
{
get
{
return this._Name;
}
set
{
this.OnNameChanging(value);
this._Name = value;
this.OnNameChanged();
this.OnPropertyChanged("Name");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private string _Name;
partial void OnNameChanging(string value);
partial void OnNameChanged();
/// <summary>
/// There are no comments for Property GeneralJournal in the schema.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
[global::Microsoft.OData.Client.OriginalNameAttribute("GeneralJournal")]
public global::Microsoft.OData.Client.DataServiceCollection<global::ODataClientCodeGeneratorSample.GeneralJournal> GeneralJournal
{
get
{
return this._GeneralJournal;
}
set
{
this.OnGeneralJournalChanging(value);
this._GeneralJournal = value;
this.OnGeneralJournalChanged();
this.OnPropertyChanged("GeneralJournal");
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
private global::Microsoft.OData.Client.DataServiceCollection<global::ODataClientCodeGeneratorSample.GeneralJournal> _GeneralJournal = new global::Microsoft.OData.Client.DataServiceCollection<global::ODataClientCodeGeneratorSample.GeneralJournal>(null, global::Microsoft.OData.Client.TrackingMode.None);
partial void OnGeneralJournalChanging(global::Microsoft.OData.Client.DataServiceCollection<global::ODataClientCodeGeneratorSample.GeneralJournal> value);
partial void OnGeneralJournalChanged();
/// <summary>
/// This event is raised when the value of the property is changed
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
public event global::System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
/// <summary>
/// The value of the property is changed
/// </summary>
/// <param name="property">property name</param>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.OData.Client.Design.T4", "2.4.0")]
protected virtual void OnPropertyChanged(string property)
{
if ((this.PropertyChanged != null))
{
this.PropertyChanged(this, new global::System.ComponentModel.PropertyChangedEventArgs(property));
}
}
}
/// <summary>
/// There are no comments for NavType in the schema.
/// </summary>
[global::Microsoft.OData.Client.OriginalNameAttribute("NavType")]
public enum NavType
{
[global::Microsoft.OData.Client.OriginalNameAttribute("Date")]
Date = 1,
[global::Microsoft.OData.Client.OriginalNameAttribute("Enum")]
Enum = 2,
[global::Microsoft.OData.Client.OriginalNameAttribute("Guid")]
Guid = 3,
[global::Microsoft.OData.Client.OriginalNameAttribute("Int")]
Int = 4,
[global::Microsoft.OData.Client.OriginalNameAttribute("Long")]
Long = 5,
[global::Microsoft.OData.Client.OriginalNameAttribute("Real")]
Real = 6,
[global::Microsoft.OData.Client.OriginalNameAttribute("String")]
String = 7,
[global::Microsoft.OData.Client.OriginalNameAttribute("Time")]
Time = 8,
[global::Microsoft.OData.Client.OriginalNameAttribute("DateTime")]
DateTime = 9,
[global::Microsoft.OData.Client.OriginalNameAttribute("Bool")]
Bool = 10
}
/// <summary>
/// Class containing all extension methods
/// </summary>
public static class ExtensionMethods
{
/// <summary>
/// Get an entity of type global::ODataClientCodeGeneratorSample.GeneralJournal as global::ODataClientCodeGeneratorSample.GeneralJournalSingle specified by key from an entity set
/// </summary>
/// <param name="source">source entity set</param>
/// <param name="keys">dictionary with the names and values of keys</param>
public static global::ODataClientCodeGeneratorSample.GeneralJournalSingle ByKey(this global::Microsoft.OData.Client.DataServiceQuery<global::ODataClientCodeGeneratorSample.GeneralJournal> source, global::System.Collections.Generic.Dictionary<string, object> keys)
{
return new global::ODataClientCodeGeneratorSample.GeneralJournalSingle(source.Context, source.GetKeyPath(global::Microsoft.OData.Client.Serializer.GetKeyString(source.Context, keys)));
}
/// <summary>
/// Get an entity of type global::ODataClientCodeGeneratorSample.GeneralJournal as global::ODataClientCodeGeneratorSample.GeneralJournalSingle specified by key from an entity set
/// </summary>
/// <param name="source">source entity set</param>
/// <param name="journal_Template_Name">The value of journal_Template_Name</param>
/// <param name="journal_Batch_Name">The value of journal_Batch_Name</param>
/// <param name="line_No">The value of line_No</param>
public static global::ODataClientCodeGeneratorSample.GeneralJournalSingle ByKey(this global::Microsoft.OData.Client.DataServiceQuery<global::ODataClientCodeGeneratorSample.GeneralJournal> source,
string journal_Template_Name,
string journal_Batch_Name,
int line_No)
{
global::System.Collections.Generic.Dictionary<string, object> keys = new global::System.Collections.Generic.Dictionary<string, object>
{
{ "Journal_Template_Name", journal_Template_Name },
{ "Journal_Batch_Name", journal_Batch_Name },
{ "Line_No", line_No }
};
return new global::ODataClientCodeGeneratorSample.GeneralJournalSingle(source.Context, source.GetKeyPath(global::Microsoft.OData.Client.Serializer.GetKeyString(source.Context, keys)));
}
/// <summary>
/// Get an entity of type global::ODataClientCodeGeneratorSample.Company as global::ODataClientCodeGeneratorSample.CompanySingle specified by key from an entity set
/// </summary>
/// <param name="source">source entity set</param>
/// <param name="keys">dictionary with the names and values of keys</param>
public static global::ODataClientCodeGeneratorSample.CompanySingle ByKey(this global::Microsoft.OData.Client.DataServiceQuery<global::ODataClientCodeGeneratorSample.Company> source, global::System.Collections.Generic.Dictionary<string, object> keys)
{
return new global::ODataClientCodeGeneratorSample.CompanySingle(source.Context, source.GetKeyPath(global::Microsoft.OData.Client.Serializer.GetKeyString(source.Context, keys)));
}
/// <summary>
/// Get an entity of type global::ODataClientCodeGeneratorSample.Company as global::ODataClientCodeGeneratorSample.CompanySingle specified by key from an entity set
/// </summary>
/// <param name="source">source entity set</param>
/// <param name="name">The value of name</param>
public static global::ODataClientCodeGeneratorSample.CompanySingle ByKey(this global::Microsoft.OData.Client.DataServiceQuery<global::ODataClientCodeGeneratorSample.Company> source,
string name)
{
global::System.Collections.Generic.Dictionary<string, object> keys = new global::System.Collections.Generic.Dictionary<string, object>
{
{ "Name", name }
};
return new global::ODataClientCodeGeneratorSample.CompanySingle(source.Context, source.GetKeyPath(global::Microsoft.OData.Client.Serializer.GetKeyString(source.Context, keys)));
}
}
}