//------------------------------------------------------------------------------
//
// This code was generated by a tool.
// Runtime Version:4.0.30319.33440
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
//
//------------------------------------------------------------------------------
#pragma warning disable 1591
namespace Saving.Applications.shrlon.ws_sl_loansrv_ccl_contpayinstm_ctrl {
///
///Represents a strongly typed in-memory cache of data.
///
[global::System.Serializable()]
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
[global::System.ComponentModel.ToolboxItem(true)]
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")]
[global::System.Xml.Serialization.XmlRootAttribute("DataSet1")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")]
public partial class DataSet1 : global::System.Data.DataSet {
private LNCONTSTATEMENTDataTable tableLNCONTSTATEMENT;
private DT_MAINDataTable tableDT_MAIN;
private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public DataSet1() {
this.BeginInit();
this.InitClass();
global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
base.Tables.CollectionChanged += schemaChangedHandler;
base.Relations.CollectionChanged += schemaChangedHandler;
this.EndInit();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected DataSet1(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
base(info, context, false) {
if ((this.IsBinarySerialized(info, context) == true)) {
this.InitVars(false);
global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
this.Tables.CollectionChanged += schemaChangedHandler1;
this.Relations.CollectionChanged += schemaChangedHandler1;
return;
}
string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
global::System.Data.DataSet ds = new global::System.Data.DataSet();
ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
if ((ds.Tables["LNCONTSTATEMENT"] != null)) {
base.Tables.Add(new LNCONTSTATEMENTDataTable(ds.Tables["LNCONTSTATEMENT"]));
}
if ((ds.Tables["DT_MAIN"] != null)) {
base.Tables.Add(new DT_MAINDataTable(ds.Tables["DT_MAIN"]));
}
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
this.Locale = ds.Locale;
this.CaseSensitive = ds.CaseSensitive;
this.EnforceConstraints = ds.EnforceConstraints;
this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
this.InitVars();
}
else {
this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
}
this.GetSerializationData(info, context);
global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
base.Tables.CollectionChanged += schemaChangedHandler;
this.Relations.CollectionChanged += schemaChangedHandler;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
[global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
public LNCONTSTATEMENTDataTable LNCONTSTATEMENT {
get {
return this.tableLNCONTSTATEMENT;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
[global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
public DT_MAINDataTable DT_MAIN {
get {
return this.tableDT_MAIN;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.BrowsableAttribute(true)]
[global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)]
public override global::System.Data.SchemaSerializationMode SchemaSerializationMode {
get {
return this._schemaSerializationMode;
}
set {
this._schemaSerializationMode = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public new global::System.Data.DataTableCollection Tables {
get {
return base.Tables;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public new global::System.Data.DataRelationCollection Relations {
get {
return base.Relations;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override void InitializeDerivedDataSet() {
this.BeginInit();
this.InitClass();
this.EndInit();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public override global::System.Data.DataSet Clone() {
DataSet1 cln = ((DataSet1)(base.Clone()));
cln.InitVars();
cln.SchemaSerializationMode = this.SchemaSerializationMode;
return cln;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override bool ShouldSerializeTables() {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override bool ShouldSerializeRelations() {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) {
if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
this.Reset();
global::System.Data.DataSet ds = new global::System.Data.DataSet();
ds.ReadXml(reader);
if ((ds.Tables["LNCONTSTATEMENT"] != null)) {
base.Tables.Add(new LNCONTSTATEMENTDataTable(ds.Tables["LNCONTSTATEMENT"]));
}
if ((ds.Tables["DT_MAIN"] != null)) {
base.Tables.Add(new DT_MAINDataTable(ds.Tables["DT_MAIN"]));
}
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
this.Locale = ds.Locale;
this.CaseSensitive = ds.CaseSensitive;
this.EnforceConstraints = ds.EnforceConstraints;
this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
this.InitVars();
}
else {
this.ReadXml(reader);
this.InitVars();
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() {
global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream();
this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null));
stream.Position = 0;
return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal void InitVars() {
this.InitVars(true);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal void InitVars(bool initTable) {
this.tableLNCONTSTATEMENT = ((LNCONTSTATEMENTDataTable)(base.Tables["LNCONTSTATEMENT"]));
if ((initTable == true)) {
if ((this.tableLNCONTSTATEMENT != null)) {
this.tableLNCONTSTATEMENT.InitVars();
}
}
this.tableDT_MAIN = ((DT_MAINDataTable)(base.Tables["DT_MAIN"]));
if ((initTable == true)) {
if ((this.tableDT_MAIN != null)) {
this.tableDT_MAIN.InitVars();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitClass() {
this.DataSetName = "DataSet1";
this.Prefix = "";
this.Namespace = "http://tempuri.org/DataSet1.xsd";
this.EnforceConstraints = true;
this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
this.tableLNCONTSTATEMENT = new LNCONTSTATEMENTDataTable();
base.Tables.Add(this.tableLNCONTSTATEMENT);
this.tableDT_MAIN = new DT_MAINDataTable();
base.Tables.Add(this.tableDT_MAIN);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private bool ShouldSerializeLNCONTSTATEMENT() {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private bool ShouldSerializeDT_MAIN() {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) {
this.InitVars();
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
DataSet1 ds = new DataSet1();
global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny();
any.Namespace = ds.Namespace;
sequence.Items.Add(any);
type.Particle = sequence;
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
if (xs.Contains(dsSchema.TargetNamespace)) {
global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
try {
global::System.Xml.Schema.XmlSchema schema = null;
dsSchema.Write(s1);
for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
s2.SetLength(0);
schema.Write(s2);
if ((s1.Length == s2.Length)) {
s1.Position = 0;
s2.Position = 0;
for (; ((s1.Position != s1.Length)
&& (s1.ReadByte() == s2.ReadByte())); ) {
;
}
if ((s1.Position == s1.Length)) {
return type;
}
}
}
}
finally {
if ((s1 != null)) {
s1.Close();
}
if ((s2 != null)) {
s2.Close();
}
}
}
xs.Add(dsSchema);
return type;
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void LNCONTSTATEMENTRowChangeEventHandler(object sender, LNCONTSTATEMENTRowChangeEvent e);
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public delegate void DT_MAINRowChangeEventHandler(object sender, DT_MAINRowChangeEvent e);
///
///Represents the strongly named DataTable class.
///
[global::System.Serializable()]
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
public partial class LNCONTSTATEMENTDataTable : global::System.Data.TypedTableBase {
private global::System.Data.DataColumn columnCOOP_ID;
private global::System.Data.DataColumn columnLOANCONTRACT_NO;
private global::System.Data.DataColumn columnSEQ_NO;
private global::System.Data.DataColumn columnLOANITEMTYPE_CODE;
private global::System.Data.DataColumn columnSLIP_DATE;
private global::System.Data.DataColumn columnOPERATE_DATE;
private global::System.Data.DataColumn columnREF_DOCNO;
private global::System.Data.DataColumn columnREF_SLIPNO;
private global::System.Data.DataColumn columnPERIOD;
private global::System.Data.DataColumn columnPRINCIPAL_PAYMENT;
private global::System.Data.DataColumn columnINTEREST_PAYMENT;
private global::System.Data.DataColumn columnPRINCIPAL_BALANCE;
private global::System.Data.DataColumn columnMONEYTYPE_CODE;
private global::System.Data.DataColumn columnENTRY_ID;
private global::System.Data.DataColumn columnoperate_flag;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public LNCONTSTATEMENTDataTable() {
this.TableName = "LNCONTSTATEMENT";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal LNCONTSTATEMENTDataTable(global::System.Data.DataTable table) {
this.TableName = table.TableName;
if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
this.CaseSensitive = table.CaseSensitive;
}
if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
this.Locale = table.Locale;
}
if ((table.Namespace != table.DataSet.Namespace)) {
this.Namespace = table.Namespace;
}
this.Prefix = table.Prefix;
this.MinimumCapacity = table.MinimumCapacity;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected LNCONTSTATEMENTDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
base(info, context) {
this.InitVars();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn COOP_IDColumn {
get {
return this.columnCOOP_ID;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn LOANCONTRACT_NOColumn {
get {
return this.columnLOANCONTRACT_NO;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn SEQ_NOColumn {
get {
return this.columnSEQ_NO;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn LOANITEMTYPE_CODEColumn {
get {
return this.columnLOANITEMTYPE_CODE;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn SLIP_DATEColumn {
get {
return this.columnSLIP_DATE;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn OPERATE_DATEColumn {
get {
return this.columnOPERATE_DATE;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn REF_DOCNOColumn {
get {
return this.columnREF_DOCNO;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn REF_SLIPNOColumn {
get {
return this.columnREF_SLIPNO;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn PERIODColumn {
get {
return this.columnPERIOD;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn PRINCIPAL_PAYMENTColumn {
get {
return this.columnPRINCIPAL_PAYMENT;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn INTEREST_PAYMENTColumn {
get {
return this.columnINTEREST_PAYMENT;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn PRINCIPAL_BALANCEColumn {
get {
return this.columnPRINCIPAL_BALANCE;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn MONEYTYPE_CODEColumn {
get {
return this.columnMONEYTYPE_CODE;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn ENTRY_IDColumn {
get {
return this.columnENTRY_ID;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn operate_flagColumn {
get {
return this.columnoperate_flag;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
public int Count {
get {
return this.Rows.Count;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public LNCONTSTATEMENTRow this[int index] {
get {
return ((LNCONTSTATEMENTRow)(this.Rows[index]));
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event LNCONTSTATEMENTRowChangeEventHandler LNCONTSTATEMENTRowChanging;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event LNCONTSTATEMENTRowChangeEventHandler LNCONTSTATEMENTRowChanged;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event LNCONTSTATEMENTRowChangeEventHandler LNCONTSTATEMENTRowDeleting;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event LNCONTSTATEMENTRowChangeEventHandler LNCONTSTATEMENTRowDeleted;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void AddLNCONTSTATEMENTRow(LNCONTSTATEMENTRow row) {
this.Rows.Add(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public LNCONTSTATEMENTRow AddLNCONTSTATEMENTRow(string COOP_ID, string LOANCONTRACT_NO, decimal SEQ_NO, string LOANITEMTYPE_CODE, System.DateTime SLIP_DATE, System.DateTime OPERATE_DATE, string REF_DOCNO, string REF_SLIPNO, decimal PERIOD, decimal PRINCIPAL_PAYMENT, decimal INTEREST_PAYMENT, decimal PRINCIPAL_BALANCE, string MONEYTYPE_CODE, string ENTRY_ID, decimal operate_flag) {
LNCONTSTATEMENTRow rowLNCONTSTATEMENTRow = ((LNCONTSTATEMENTRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
COOP_ID,
LOANCONTRACT_NO,
SEQ_NO,
LOANITEMTYPE_CODE,
SLIP_DATE,
OPERATE_DATE,
REF_DOCNO,
REF_SLIPNO,
PERIOD,
PRINCIPAL_PAYMENT,
INTEREST_PAYMENT,
PRINCIPAL_BALANCE,
MONEYTYPE_CODE,
ENTRY_ID,
operate_flag};
rowLNCONTSTATEMENTRow.ItemArray = columnValuesArray;
this.Rows.Add(rowLNCONTSTATEMENTRow);
return rowLNCONTSTATEMENTRow;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public LNCONTSTATEMENTRow FindByCOOP_IDLOANCONTRACT_NOSEQ_NO(string COOP_ID, string LOANCONTRACT_NO, decimal SEQ_NO) {
return ((LNCONTSTATEMENTRow)(this.Rows.Find(new object[] {
COOP_ID,
LOANCONTRACT_NO,
SEQ_NO})));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public override global::System.Data.DataTable Clone() {
LNCONTSTATEMENTDataTable cln = ((LNCONTSTATEMENTDataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override global::System.Data.DataTable CreateInstance() {
return new LNCONTSTATEMENTDataTable();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal void InitVars() {
this.columnCOOP_ID = base.Columns["COOP_ID"];
this.columnLOANCONTRACT_NO = base.Columns["LOANCONTRACT_NO"];
this.columnSEQ_NO = base.Columns["SEQ_NO"];
this.columnLOANITEMTYPE_CODE = base.Columns["LOANITEMTYPE_CODE"];
this.columnSLIP_DATE = base.Columns["SLIP_DATE"];
this.columnOPERATE_DATE = base.Columns["OPERATE_DATE"];
this.columnREF_DOCNO = base.Columns["REF_DOCNO"];
this.columnREF_SLIPNO = base.Columns["REF_SLIPNO"];
this.columnPERIOD = base.Columns["PERIOD"];
this.columnPRINCIPAL_PAYMENT = base.Columns["PRINCIPAL_PAYMENT"];
this.columnINTEREST_PAYMENT = base.Columns["INTEREST_PAYMENT"];
this.columnPRINCIPAL_BALANCE = base.Columns["PRINCIPAL_BALANCE"];
this.columnMONEYTYPE_CODE = base.Columns["MONEYTYPE_CODE"];
this.columnENTRY_ID = base.Columns["ENTRY_ID"];
this.columnoperate_flag = base.Columns["operate_flag"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitClass() {
this.columnCOOP_ID = new global::System.Data.DataColumn("COOP_ID", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnCOOP_ID);
this.columnLOANCONTRACT_NO = new global::System.Data.DataColumn("LOANCONTRACT_NO", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnLOANCONTRACT_NO);
this.columnSEQ_NO = new global::System.Data.DataColumn("SEQ_NO", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnSEQ_NO);
this.columnLOANITEMTYPE_CODE = new global::System.Data.DataColumn("LOANITEMTYPE_CODE", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnLOANITEMTYPE_CODE);
this.columnSLIP_DATE = new global::System.Data.DataColumn("SLIP_DATE", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnSLIP_DATE);
this.columnOPERATE_DATE = new global::System.Data.DataColumn("OPERATE_DATE", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnOPERATE_DATE);
this.columnREF_DOCNO = new global::System.Data.DataColumn("REF_DOCNO", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnREF_DOCNO);
this.columnREF_SLIPNO = new global::System.Data.DataColumn("REF_SLIPNO", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnREF_SLIPNO);
this.columnPERIOD = new global::System.Data.DataColumn("PERIOD", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnPERIOD);
this.columnPRINCIPAL_PAYMENT = new global::System.Data.DataColumn("PRINCIPAL_PAYMENT", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnPRINCIPAL_PAYMENT);
this.columnINTEREST_PAYMENT = new global::System.Data.DataColumn("INTEREST_PAYMENT", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnINTEREST_PAYMENT);
this.columnPRINCIPAL_BALANCE = new global::System.Data.DataColumn("PRINCIPAL_BALANCE", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnPRINCIPAL_BALANCE);
this.columnMONEYTYPE_CODE = new global::System.Data.DataColumn("MONEYTYPE_CODE", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnMONEYTYPE_CODE);
this.columnENTRY_ID = new global::System.Data.DataColumn("ENTRY_ID", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnENTRY_ID);
this.columnoperate_flag = new global::System.Data.DataColumn("operate_flag", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnoperate_flag);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnCOOP_ID,
this.columnLOANCONTRACT_NO,
this.columnSEQ_NO}, true));
this.columnCOOP_ID.AllowDBNull = false;
this.columnCOOP_ID.MaxLength = 6;
this.columnLOANCONTRACT_NO.AllowDBNull = false;
this.columnLOANCONTRACT_NO.MaxLength = 15;
this.columnSEQ_NO.AllowDBNull = false;
this.columnLOANITEMTYPE_CODE.MaxLength = 3;
this.columnREF_DOCNO.MaxLength = 15;
this.columnREF_SLIPNO.MaxLength = 15;
this.columnMONEYTYPE_CODE.MaxLength = 3;
this.columnENTRY_ID.MaxLength = 32;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public LNCONTSTATEMENTRow NewLNCONTSTATEMENTRow() {
return ((LNCONTSTATEMENTRow)(this.NewRow()));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
return new LNCONTSTATEMENTRow(builder);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override global::System.Type GetRowType() {
return typeof(LNCONTSTATEMENTRow);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.LNCONTSTATEMENTRowChanged != null)) {
this.LNCONTSTATEMENTRowChanged(this, new LNCONTSTATEMENTRowChangeEvent(((LNCONTSTATEMENTRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.LNCONTSTATEMENTRowChanging != null)) {
this.LNCONTSTATEMENTRowChanging(this, new LNCONTSTATEMENTRowChangeEvent(((LNCONTSTATEMENTRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.LNCONTSTATEMENTRowDeleted != null)) {
this.LNCONTSTATEMENTRowDeleted(this, new LNCONTSTATEMENTRowChangeEvent(((LNCONTSTATEMENTRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.LNCONTSTATEMENTRowDeleting != null)) {
this.LNCONTSTATEMENTRowDeleting(this, new LNCONTSTATEMENTRowChangeEvent(((LNCONTSTATEMENTRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void RemoveLNCONTSTATEMENTRow(LNCONTSTATEMENTRow row) {
this.Rows.Remove(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
DataSet1 ds = new DataSet1();
global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
any1.Namespace = "http://www.w3.org/2001/XMLSchema";
any1.MinOccurs = new decimal(0);
any1.MaxOccurs = decimal.MaxValue;
any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any1);
global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
any2.MinOccurs = new decimal(1);
any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any2);
global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
attribute1.Name = "namespace";
attribute1.FixedValue = ds.Namespace;
type.Attributes.Add(attribute1);
global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
attribute2.Name = "tableTypeName";
attribute2.FixedValue = "LNCONTSTATEMENTDataTable";
type.Attributes.Add(attribute2);
type.Particle = sequence;
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
if (xs.Contains(dsSchema.TargetNamespace)) {
global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
try {
global::System.Xml.Schema.XmlSchema schema = null;
dsSchema.Write(s1);
for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
s2.SetLength(0);
schema.Write(s2);
if ((s1.Length == s2.Length)) {
s1.Position = 0;
s2.Position = 0;
for (; ((s1.Position != s1.Length)
&& (s1.ReadByte() == s2.ReadByte())); ) {
;
}
if ((s1.Position == s1.Length)) {
return type;
}
}
}
}
finally {
if ((s1 != null)) {
s1.Close();
}
if ((s2 != null)) {
s2.Close();
}
}
}
xs.Add(dsSchema);
return type;
}
}
///
///Represents the strongly named DataTable class.
///
[global::System.Serializable()]
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
public partial class DT_MAINDataTable : global::System.Data.TypedTableBase {
private global::System.Data.DataColumn columnmember_no;
private global::System.Data.DataColumn columnloancontract_no;
private global::System.Data.DataColumn columncp_membname;
private global::System.Data.DataColumn columncp_loantype_desc;
private global::System.Data.DataColumn columnprincipal_balance;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public DT_MAINDataTable() {
this.TableName = "DT_MAIN";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal DT_MAINDataTable(global::System.Data.DataTable table) {
this.TableName = table.TableName;
if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
this.CaseSensitive = table.CaseSensitive;
}
if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
this.Locale = table.Locale;
}
if ((table.Namespace != table.DataSet.Namespace)) {
this.Namespace = table.Namespace;
}
this.Prefix = table.Prefix;
this.MinimumCapacity = table.MinimumCapacity;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected DT_MAINDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
base(info, context) {
this.InitVars();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn member_noColumn {
get {
return this.columnmember_no;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn loancontract_noColumn {
get {
return this.columnloancontract_no;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn cp_membnameColumn {
get {
return this.columncp_membname;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn cp_loantype_descColumn {
get {
return this.columncp_loantype_desc;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn principal_balanceColumn {
get {
return this.columnprincipal_balance;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
public int Count {
get {
return this.Rows.Count;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public DT_MAINRow this[int index] {
get {
return ((DT_MAINRow)(this.Rows[index]));
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event DT_MAINRowChangeEventHandler DT_MAINRowChanging;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event DT_MAINRowChangeEventHandler DT_MAINRowChanged;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event DT_MAINRowChangeEventHandler DT_MAINRowDeleting;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public event DT_MAINRowChangeEventHandler DT_MAINRowDeleted;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void AddDT_MAINRow(DT_MAINRow row) {
this.Rows.Add(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public DT_MAINRow AddDT_MAINRow(string member_no, string loancontract_no, string cp_membname, string cp_loantype_desc, decimal principal_balance) {
DT_MAINRow rowDT_MAINRow = ((DT_MAINRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
member_no,
loancontract_no,
cp_membname,
cp_loantype_desc,
principal_balance};
rowDT_MAINRow.ItemArray = columnValuesArray;
this.Rows.Add(rowDT_MAINRow);
return rowDT_MAINRow;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public override global::System.Data.DataTable Clone() {
DT_MAINDataTable cln = ((DT_MAINDataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override global::System.Data.DataTable CreateInstance() {
return new DT_MAINDataTable();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal void InitVars() {
this.columnmember_no = base.Columns["member_no"];
this.columnloancontract_no = base.Columns["loancontract_no"];
this.columncp_membname = base.Columns["cp_membname"];
this.columncp_loantype_desc = base.Columns["cp_loantype_desc"];
this.columnprincipal_balance = base.Columns["principal_balance"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitClass() {
this.columnmember_no = new global::System.Data.DataColumn("member_no", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnmember_no);
this.columnloancontract_no = new global::System.Data.DataColumn("loancontract_no", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnloancontract_no);
this.columncp_membname = new global::System.Data.DataColumn("cp_membname", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columncp_membname);
this.columncp_loantype_desc = new global::System.Data.DataColumn("cp_loantype_desc", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columncp_loantype_desc);
this.columnprincipal_balance = new global::System.Data.DataColumn("principal_balance", typeof(decimal), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnprincipal_balance);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public DT_MAINRow NewDT_MAINRow() {
return ((DT_MAINRow)(this.NewRow()));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
return new DT_MAINRow(builder);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override global::System.Type GetRowType() {
return typeof(DT_MAINRow);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.DT_MAINRowChanged != null)) {
this.DT_MAINRowChanged(this, new DT_MAINRowChangeEvent(((DT_MAINRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.DT_MAINRowChanging != null)) {
this.DT_MAINRowChanging(this, new DT_MAINRowChangeEvent(((DT_MAINRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.DT_MAINRowDeleted != null)) {
this.DT_MAINRowDeleted(this, new DT_MAINRowChangeEvent(((DT_MAINRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.DT_MAINRowDeleting != null)) {
this.DT_MAINRowDeleting(this, new DT_MAINRowChangeEvent(((DT_MAINRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void RemoveDT_MAINRow(DT_MAINRow row) {
this.Rows.Remove(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
DataSet1 ds = new DataSet1();
global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
any1.Namespace = "http://www.w3.org/2001/XMLSchema";
any1.MinOccurs = new decimal(0);
any1.MaxOccurs = decimal.MaxValue;
any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any1);
global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
any2.MinOccurs = new decimal(1);
any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any2);
global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
attribute1.Name = "namespace";
attribute1.FixedValue = ds.Namespace;
type.Attributes.Add(attribute1);
global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
attribute2.Name = "tableTypeName";
attribute2.FixedValue = "DT_MAINDataTable";
type.Attributes.Add(attribute2);
type.Particle = sequence;
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
if (xs.Contains(dsSchema.TargetNamespace)) {
global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
try {
global::System.Xml.Schema.XmlSchema schema = null;
dsSchema.Write(s1);
for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
s2.SetLength(0);
schema.Write(s2);
if ((s1.Length == s2.Length)) {
s1.Position = 0;
s2.Position = 0;
for (; ((s1.Position != s1.Length)
&& (s1.ReadByte() == s2.ReadByte())); ) {
;
}
if ((s1.Position == s1.Length)) {
return type;
}
}
}
}
finally {
if ((s1 != null)) {
s1.Close();
}
if ((s2 != null)) {
s2.Close();
}
}
}
xs.Add(dsSchema);
return type;
}
}
///
///Represents strongly named DataRow class.
///
public partial class LNCONTSTATEMENTRow : global::System.Data.DataRow {
private LNCONTSTATEMENTDataTable tableLNCONTSTATEMENT;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal LNCONTSTATEMENTRow(global::System.Data.DataRowBuilder rb) :
base(rb) {
this.tableLNCONTSTATEMENT = ((LNCONTSTATEMENTDataTable)(this.Table));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string COOP_ID {
get {
return ((string)(this[this.tableLNCONTSTATEMENT.COOP_IDColumn]));
}
set {
this[this.tableLNCONTSTATEMENT.COOP_IDColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string LOANCONTRACT_NO {
get {
return ((string)(this[this.tableLNCONTSTATEMENT.LOANCONTRACT_NOColumn]));
}
set {
this[this.tableLNCONTSTATEMENT.LOANCONTRACT_NOColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal SEQ_NO {
get {
return ((decimal)(this[this.tableLNCONTSTATEMENT.SEQ_NOColumn]));
}
set {
this[this.tableLNCONTSTATEMENT.SEQ_NOColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string LOANITEMTYPE_CODE {
get {
try {
return ((string)(this[this.tableLNCONTSTATEMENT.LOANITEMTYPE_CODEColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'LOANITEMTYPE_CODE\' in table \'LNCONTSTATEMENT\' is DBNull.", e);
}
}
set {
this[this.tableLNCONTSTATEMENT.LOANITEMTYPE_CODEColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public System.DateTime SLIP_DATE {
get {
try {
return ((global::System.DateTime)(this[this.tableLNCONTSTATEMENT.SLIP_DATEColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'SLIP_DATE\' in table \'LNCONTSTATEMENT\' is DBNull.", e);
}
}
set {
this[this.tableLNCONTSTATEMENT.SLIP_DATEColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public System.DateTime OPERATE_DATE {
get {
try {
return ((global::System.DateTime)(this[this.tableLNCONTSTATEMENT.OPERATE_DATEColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'OPERATE_DATE\' in table \'LNCONTSTATEMENT\' is DBNull.", e);
}
}
set {
this[this.tableLNCONTSTATEMENT.OPERATE_DATEColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string REF_DOCNO {
get {
try {
return ((string)(this[this.tableLNCONTSTATEMENT.REF_DOCNOColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'REF_DOCNO\' in table \'LNCONTSTATEMENT\' is DBNull.", e);
}
}
set {
this[this.tableLNCONTSTATEMENT.REF_DOCNOColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string REF_SLIPNO {
get {
try {
return ((string)(this[this.tableLNCONTSTATEMENT.REF_SLIPNOColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'REF_SLIPNO\' in table \'LNCONTSTATEMENT\' is DBNull.", e);
}
}
set {
this[this.tableLNCONTSTATEMENT.REF_SLIPNOColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal PERIOD {
get {
try {
return ((decimal)(this[this.tableLNCONTSTATEMENT.PERIODColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'PERIOD\' in table \'LNCONTSTATEMENT\' is DBNull.", e);
}
}
set {
this[this.tableLNCONTSTATEMENT.PERIODColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal PRINCIPAL_PAYMENT {
get {
try {
return ((decimal)(this[this.tableLNCONTSTATEMENT.PRINCIPAL_PAYMENTColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'PRINCIPAL_PAYMENT\' in table \'LNCONTSTATEMENT\' is DBNull.", e);
}
}
set {
this[this.tableLNCONTSTATEMENT.PRINCIPAL_PAYMENTColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal INTEREST_PAYMENT {
get {
try {
return ((decimal)(this[this.tableLNCONTSTATEMENT.INTEREST_PAYMENTColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'INTEREST_PAYMENT\' in table \'LNCONTSTATEMENT\' is DBNull.", e);
}
}
set {
this[this.tableLNCONTSTATEMENT.INTEREST_PAYMENTColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal PRINCIPAL_BALANCE {
get {
try {
return ((decimal)(this[this.tableLNCONTSTATEMENT.PRINCIPAL_BALANCEColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'PRINCIPAL_BALANCE\' in table \'LNCONTSTATEMENT\' is DBNull.", e);
}
}
set {
this[this.tableLNCONTSTATEMENT.PRINCIPAL_BALANCEColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string MONEYTYPE_CODE {
get {
try {
return ((string)(this[this.tableLNCONTSTATEMENT.MONEYTYPE_CODEColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'MONEYTYPE_CODE\' in table \'LNCONTSTATEMENT\' is DBNull.", e);
}
}
set {
this[this.tableLNCONTSTATEMENT.MONEYTYPE_CODEColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string ENTRY_ID {
get {
try {
return ((string)(this[this.tableLNCONTSTATEMENT.ENTRY_IDColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'ENTRY_ID\' in table \'LNCONTSTATEMENT\' is DBNull.", e);
}
}
set {
this[this.tableLNCONTSTATEMENT.ENTRY_IDColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal operate_flag {
get {
try {
return ((decimal)(this[this.tableLNCONTSTATEMENT.operate_flagColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'operate_flag\' in table \'LNCONTSTATEMENT\' is DBNull.", e);
}
}
set {
this[this.tableLNCONTSTATEMENT.operate_flagColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsLOANITEMTYPE_CODENull() {
return this.IsNull(this.tableLNCONTSTATEMENT.LOANITEMTYPE_CODEColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetLOANITEMTYPE_CODENull() {
this[this.tableLNCONTSTATEMENT.LOANITEMTYPE_CODEColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsSLIP_DATENull() {
return this.IsNull(this.tableLNCONTSTATEMENT.SLIP_DATEColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetSLIP_DATENull() {
this[this.tableLNCONTSTATEMENT.SLIP_DATEColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsOPERATE_DATENull() {
return this.IsNull(this.tableLNCONTSTATEMENT.OPERATE_DATEColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetOPERATE_DATENull() {
this[this.tableLNCONTSTATEMENT.OPERATE_DATEColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsREF_DOCNONull() {
return this.IsNull(this.tableLNCONTSTATEMENT.REF_DOCNOColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetREF_DOCNONull() {
this[this.tableLNCONTSTATEMENT.REF_DOCNOColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsREF_SLIPNONull() {
return this.IsNull(this.tableLNCONTSTATEMENT.REF_SLIPNOColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetREF_SLIPNONull() {
this[this.tableLNCONTSTATEMENT.REF_SLIPNOColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsPERIODNull() {
return this.IsNull(this.tableLNCONTSTATEMENT.PERIODColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetPERIODNull() {
this[this.tableLNCONTSTATEMENT.PERIODColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsPRINCIPAL_PAYMENTNull() {
return this.IsNull(this.tableLNCONTSTATEMENT.PRINCIPAL_PAYMENTColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetPRINCIPAL_PAYMENTNull() {
this[this.tableLNCONTSTATEMENT.PRINCIPAL_PAYMENTColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsINTEREST_PAYMENTNull() {
return this.IsNull(this.tableLNCONTSTATEMENT.INTEREST_PAYMENTColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetINTEREST_PAYMENTNull() {
this[this.tableLNCONTSTATEMENT.INTEREST_PAYMENTColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsPRINCIPAL_BALANCENull() {
return this.IsNull(this.tableLNCONTSTATEMENT.PRINCIPAL_BALANCEColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetPRINCIPAL_BALANCENull() {
this[this.tableLNCONTSTATEMENT.PRINCIPAL_BALANCEColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsMONEYTYPE_CODENull() {
return this.IsNull(this.tableLNCONTSTATEMENT.MONEYTYPE_CODEColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetMONEYTYPE_CODENull() {
this[this.tableLNCONTSTATEMENT.MONEYTYPE_CODEColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsENTRY_IDNull() {
return this.IsNull(this.tableLNCONTSTATEMENT.ENTRY_IDColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetENTRY_IDNull() {
this[this.tableLNCONTSTATEMENT.ENTRY_IDColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool Isoperate_flagNull() {
return this.IsNull(this.tableLNCONTSTATEMENT.operate_flagColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void Setoperate_flagNull() {
this[this.tableLNCONTSTATEMENT.operate_flagColumn] = global::System.Convert.DBNull;
}
}
///
///Represents strongly named DataRow class.
///
public partial class DT_MAINRow : global::System.Data.DataRow {
private DT_MAINDataTable tableDT_MAIN;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal DT_MAINRow(global::System.Data.DataRowBuilder rb) :
base(rb) {
this.tableDT_MAIN = ((DT_MAINDataTable)(this.Table));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string member_no {
get {
try {
return ((string)(this[this.tableDT_MAIN.member_noColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'member_no\' in table \'DT_MAIN\' is DBNull.", e);
}
}
set {
this[this.tableDT_MAIN.member_noColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string loancontract_no {
get {
try {
return ((string)(this[this.tableDT_MAIN.loancontract_noColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'loancontract_no\' in table \'DT_MAIN\' is DBNull.", e);
}
}
set {
this[this.tableDT_MAIN.loancontract_noColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string cp_membname {
get {
try {
return ((string)(this[this.tableDT_MAIN.cp_membnameColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'cp_membname\' in table \'DT_MAIN\' is DBNull.", e);
}
}
set {
this[this.tableDT_MAIN.cp_membnameColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string cp_loantype_desc {
get {
try {
return ((string)(this[this.tableDT_MAIN.cp_loantype_descColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'cp_loantype_desc\' in table \'DT_MAIN\' is DBNull.", e);
}
}
set {
this[this.tableDT_MAIN.cp_loantype_descColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public decimal principal_balance {
get {
try {
return ((decimal)(this[this.tableDT_MAIN.principal_balanceColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'principal_balance\' in table \'DT_MAIN\' is DBNull.", e);
}
}
set {
this[this.tableDT_MAIN.principal_balanceColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool Ismember_noNull() {
return this.IsNull(this.tableDT_MAIN.member_noColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void Setmember_noNull() {
this[this.tableDT_MAIN.member_noColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool Isloancontract_noNull() {
return this.IsNull(this.tableDT_MAIN.loancontract_noColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void Setloancontract_noNull() {
this[this.tableDT_MAIN.loancontract_noColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool Iscp_membnameNull() {
return this.IsNull(this.tableDT_MAIN.cp_membnameColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void Setcp_membnameNull() {
this[this.tableDT_MAIN.cp_membnameColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool Iscp_loantype_descNull() {
return this.IsNull(this.tableDT_MAIN.cp_loantype_descColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void Setcp_loantype_descNull() {
this[this.tableDT_MAIN.cp_loantype_descColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool Isprincipal_balanceNull() {
return this.IsNull(this.tableDT_MAIN.principal_balanceColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void Setprincipal_balanceNull() {
this[this.tableDT_MAIN.principal_balanceColumn] = global::System.Convert.DBNull;
}
}
///
///Row event argument class
///
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public class LNCONTSTATEMENTRowChangeEvent : global::System.EventArgs {
private LNCONTSTATEMENTRow eventRow;
private global::System.Data.DataRowAction eventAction;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public LNCONTSTATEMENTRowChangeEvent(LNCONTSTATEMENTRow row, global::System.Data.DataRowAction action) {
this.eventRow = row;
this.eventAction = action;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public LNCONTSTATEMENTRow Row {
get {
return this.eventRow;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataRowAction Action {
get {
return this.eventAction;
}
}
}
///
///Row event argument class
///
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public class DT_MAINRowChangeEvent : global::System.EventArgs {
private DT_MAINRow eventRow;
private global::System.Data.DataRowAction eventAction;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public DT_MAINRowChangeEvent(DT_MAINRow row, global::System.Data.DataRowAction action) {
this.eventRow = row;
this.eventAction = action;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public DT_MAINRow Row {
get {
return this.eventRow;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataRowAction Action {
get {
return this.eventAction;
}
}
}
}
}
namespace Saving.Applications.shrlon.ws_sl_loansrv_ccl_contpayinstm_ctrl.DataSet1TableAdapters {
///
///Represents the connection and commands used to retrieve and save data.
///
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
[global::System.ComponentModel.ToolboxItem(true)]
[global::System.ComponentModel.DataObjectAttribute(true)]
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public partial class LNCONTSTATEMENTTableAdapter : global::System.ComponentModel.Component {
private global::System.Data.OracleClient.OracleDataAdapter _adapter;
private global::System.Data.OracleClient.OracleConnection _connection;
private global::System.Data.OracleClient.OracleTransaction _transaction;
private global::System.Data.OracleClient.OracleCommand[] _commandCollection;
private bool _clearBeforeFill;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public LNCONTSTATEMENTTableAdapter() {
this.ClearBeforeFill = true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected internal global::System.Data.OracleClient.OracleDataAdapter Adapter {
get {
if ((this._adapter == null)) {
this.InitAdapter();
}
return this._adapter;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal global::System.Data.OracleClient.OracleConnection Connection {
get {
if ((this._connection == null)) {
this.InitConnection();
}
return this._connection;
}
set {
this._connection = value;
if ((this.Adapter.InsertCommand != null)) {
this.Adapter.InsertCommand.Connection = value;
}
if ((this.Adapter.DeleteCommand != null)) {
this.Adapter.DeleteCommand.Connection = value;
}
if ((this.Adapter.UpdateCommand != null)) {
this.Adapter.UpdateCommand.Connection = value;
}
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
if ((this.CommandCollection[i] != null)) {
((global::System.Data.OracleClient.OracleCommand)(this.CommandCollection[i])).Connection = value;
}
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal global::System.Data.OracleClient.OracleTransaction Transaction {
get {
return this._transaction;
}
set {
this._transaction = value;
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
this.CommandCollection[i].Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.DeleteCommand != null))) {
this.Adapter.DeleteCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.InsertCommand != null))) {
this.Adapter.InsertCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.UpdateCommand != null))) {
this.Adapter.UpdateCommand.Transaction = this._transaction;
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
protected global::System.Data.OracleClient.OracleCommand[] CommandCollection {
get {
if ((this._commandCollection == null)) {
this.InitCommandCollection();
}
return this._commandCollection;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool ClearBeforeFill {
get {
return this._clearBeforeFill;
}
set {
this._clearBeforeFill = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitAdapter() {
this._adapter = new global::System.Data.OracleClient.OracleDataAdapter();
global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
tableMapping.SourceTable = "Table";
tableMapping.DataSetTable = "LNCONTSTATEMENT";
tableMapping.ColumnMappings.Add("COOP_ID", "COOP_ID");
tableMapping.ColumnMappings.Add("LOANCONTRACT_NO", "LOANCONTRACT_NO");
tableMapping.ColumnMappings.Add("SEQ_NO", "SEQ_NO");
tableMapping.ColumnMappings.Add("LOANITEMTYPE_CODE", "LOANITEMTYPE_CODE");
tableMapping.ColumnMappings.Add("SLIP_DATE", "SLIP_DATE");
tableMapping.ColumnMappings.Add("OPERATE_DATE", "OPERATE_DATE");
tableMapping.ColumnMappings.Add("REF_DOCNO", "REF_DOCNO");
tableMapping.ColumnMappings.Add("REF_SLIPNO", "REF_SLIPNO");
tableMapping.ColumnMappings.Add("PERIOD", "PERIOD");
tableMapping.ColumnMappings.Add("PRINCIPAL_PAYMENT", "PRINCIPAL_PAYMENT");
tableMapping.ColumnMappings.Add("INTEREST_PAYMENT", "INTEREST_PAYMENT");
tableMapping.ColumnMappings.Add("PRINCIPAL_BALANCE", "PRINCIPAL_BALANCE");
tableMapping.ColumnMappings.Add("MONEYTYPE_CODE", "MONEYTYPE_CODE");
tableMapping.ColumnMappings.Add("ENTRY_ID", "ENTRY_ID");
this._adapter.TableMappings.Add(tableMapping);
this._adapter.DeleteCommand = new global::System.Data.OracleClient.OracleCommand();
this._adapter.DeleteCommand.Connection = this.Connection;
this._adapter.DeleteCommand.CommandText = "DELETE FROM \"LNCONTSTATEMENT\" WHERE ((\"COOP_ID\" = :Original_COOP_ID) AND (\"LOANCO" +
"NTRACT_NO\" = :Original_LOANCONTRACT_NO) AND (\"SEQ_NO\" = :Original_SEQ_NO))";
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_COOP_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "COOP_ID", global::System.Data.DataRowVersion.Original, false, null));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_LOANCONTRACT_NO", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "LOANCONTRACT_NO", global::System.Data.DataRowVersion.Original, false, null));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_SEQ_NO", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "SEQ_NO", global::System.Data.DataRowVersion.Original, false, null));
this._adapter.InsertCommand = new global::System.Data.OracleClient.OracleCommand();
this._adapter.InsertCommand.Connection = this.Connection;
this._adapter.InsertCommand.CommandText = @"INSERT INTO ""LNCONTSTATEMENT"" (""COOP_ID"", ""LOANCONTRACT_NO"", ""SEQ_NO"", ""LOANITEMTYPE_CODE"", ""SLIP_DATE"", ""OPERATE_DATE"", ""REF_DOCNO"", ""REF_SLIPNO"", ""PERIOD"", ""PRINCIPAL_PAYMENT"", ""INTEREST_PAYMENT"", ""PRINCIPAL_BALANCE"", ""MONEYTYPE_CODE"", ""ENTRY_ID"") VALUES (:COOP_ID, :LOANCONTRACT_NO, :SEQ_NO, :LOANITEMTYPE_CODE, :SLIP_DATE, :OPERATE_DATE, :REF_DOCNO, :REF_SLIPNO, :PERIOD, :PRINCIPAL_PAYMENT, :INTEREST_PAYMENT, :PRINCIPAL_BALANCE, :MONEYTYPE_CODE, :ENTRY_ID)";
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("COOP_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "COOP_ID", global::System.Data.DataRowVersion.Current, false, null));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("LOANCONTRACT_NO", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "LOANCONTRACT_NO", global::System.Data.DataRowVersion.Current, false, null));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SEQ_NO", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "SEQ_NO", global::System.Data.DataRowVersion.Current, false, null));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("LOANITEMTYPE_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "LOANITEMTYPE_CODE", global::System.Data.DataRowVersion.Current, false, null));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SLIP_DATE", global::System.Data.OracleClient.OracleType.DateTime, 0, global::System.Data.ParameterDirection.Input, "SLIP_DATE", global::System.Data.DataRowVersion.Current, false, null));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("OPERATE_DATE", global::System.Data.OracleClient.OracleType.DateTime, 0, global::System.Data.ParameterDirection.Input, "OPERATE_DATE", global::System.Data.DataRowVersion.Current, false, null));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("REF_DOCNO", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "REF_DOCNO", global::System.Data.DataRowVersion.Current, false, null));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("REF_SLIPNO", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "REF_SLIPNO", global::System.Data.DataRowVersion.Current, false, null));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("PERIOD", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "PERIOD", global::System.Data.DataRowVersion.Current, false, null));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("PRINCIPAL_PAYMENT", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "PRINCIPAL_PAYMENT", global::System.Data.DataRowVersion.Current, false, null));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("INTEREST_PAYMENT", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "INTEREST_PAYMENT", global::System.Data.DataRowVersion.Current, false, null));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("PRINCIPAL_BALANCE", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "PRINCIPAL_BALANCE", global::System.Data.DataRowVersion.Current, false, null));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("MONEYTYPE_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "MONEYTYPE_CODE", global::System.Data.DataRowVersion.Current, false, null));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ENTRY_ID", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "ENTRY_ID", global::System.Data.DataRowVersion.Current, false, null));
this._adapter.UpdateCommand = new global::System.Data.OracleClient.OracleCommand();
this._adapter.UpdateCommand.Connection = this.Connection;
this._adapter.UpdateCommand.CommandText = @"UPDATE ""LNCONTSTATEMENT"" SET ""COOP_ID"" = :COOP_ID, ""LOANCONTRACT_NO"" = :LOANCONTRACT_NO, ""SEQ_NO"" = :SEQ_NO, ""LOANITEMTYPE_CODE"" = :LOANITEMTYPE_CODE, ""SLIP_DATE"" = :SLIP_DATE, ""OPERATE_DATE"" = :OPERATE_DATE, ""REF_DOCNO"" = :REF_DOCNO, ""REF_SLIPNO"" = :REF_SLIPNO, ""PERIOD"" = :PERIOD, ""PRINCIPAL_PAYMENT"" = :PRINCIPAL_PAYMENT, ""INTEREST_PAYMENT"" = :INTEREST_PAYMENT, ""PRINCIPAL_BALANCE"" = :PRINCIPAL_BALANCE, ""MONEYTYPE_CODE"" = :MONEYTYPE_CODE, ""ENTRY_ID"" = :ENTRY_ID WHERE ((""COOP_ID"" = :Original_COOP_ID) AND (""LOANCONTRACT_NO"" = :Original_LOANCONTRACT_NO) AND (""SEQ_NO"" = :Original_SEQ_NO))";
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("COOP_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "COOP_ID", global::System.Data.DataRowVersion.Current, false, null));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("LOANCONTRACT_NO", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "LOANCONTRACT_NO", global::System.Data.DataRowVersion.Current, false, null));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SEQ_NO", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "SEQ_NO", global::System.Data.DataRowVersion.Current, false, null));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("LOANITEMTYPE_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "LOANITEMTYPE_CODE", global::System.Data.DataRowVersion.Current, false, null));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SLIP_DATE", global::System.Data.OracleClient.OracleType.DateTime, 0, global::System.Data.ParameterDirection.Input, "SLIP_DATE", global::System.Data.DataRowVersion.Current, false, null));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("OPERATE_DATE", global::System.Data.OracleClient.OracleType.DateTime, 0, global::System.Data.ParameterDirection.Input, "OPERATE_DATE", global::System.Data.DataRowVersion.Current, false, null));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("REF_DOCNO", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "REF_DOCNO", global::System.Data.DataRowVersion.Current, false, null));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("REF_SLIPNO", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "REF_SLIPNO", global::System.Data.DataRowVersion.Current, false, null));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("PERIOD", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "PERIOD", global::System.Data.DataRowVersion.Current, false, null));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("PRINCIPAL_PAYMENT", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "PRINCIPAL_PAYMENT", global::System.Data.DataRowVersion.Current, false, null));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("INTEREST_PAYMENT", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "INTEREST_PAYMENT", global::System.Data.DataRowVersion.Current, false, null));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("PRINCIPAL_BALANCE", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "PRINCIPAL_BALANCE", global::System.Data.DataRowVersion.Current, false, null));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("MONEYTYPE_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "MONEYTYPE_CODE", global::System.Data.DataRowVersion.Current, false, null));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ENTRY_ID", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "ENTRY_ID", global::System.Data.DataRowVersion.Current, false, null));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_COOP_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "COOP_ID", global::System.Data.DataRowVersion.Original, false, null));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_LOANCONTRACT_NO", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "LOANCONTRACT_NO", global::System.Data.DataRowVersion.Original, false, null));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_SEQ_NO", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "SEQ_NO", global::System.Data.DataRowVersion.Original, false, null));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitConnection() {
this._connection = new global::System.Data.OracleClient.OracleConnection();
this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitCommandCollection() {
this._commandCollection = new global::System.Data.OracleClient.OracleCommand[1];
this._commandCollection[0] = new global::System.Data.OracleClient.OracleCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = @"select
lncontstatement.coop_id,
lncontstatement.loancontract_no,
lncontstatement.seq_no,
lncontstatement.loanitemtype_code,
lncontstatement.slip_date,
lncontstatement.operate_date,
lncontstatement.ref_docno,
lncontstatement.ref_slipno,
lncontstatement.period,
lncontstatement.principal_payment,
lncontstatement.interest_payment,
lncontstatement.principal_balance,
lncontstatement.moneytype_code,
lncontstatement.entry_id
from lncontstatement";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
public virtual int Fill(DataSet1.LNCONTSTATEMENTDataTable dataTable) {
this.Adapter.SelectCommand = this.CommandCollection[0];
if ((this.ClearBeforeFill == true)) {
dataTable.Clear();
}
int returnValue = this.Adapter.Fill(dataTable);
return returnValue;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
public virtual DataSet1.LNCONTSTATEMENTDataTable GetData() {
this.Adapter.SelectCommand = this.CommandCollection[0];
DataSet1.LNCONTSTATEMENTDataTable dataTable = new DataSet1.LNCONTSTATEMENTDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(DataSet1.LNCONTSTATEMENTDataTable dataTable) {
return this.Adapter.Update(dataTable);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(DataSet1 dataSet) {
return this.Adapter.Update(dataSet, "LNCONTSTATEMENT");
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(global::System.Data.DataRow dataRow) {
return this.Adapter.Update(new global::System.Data.DataRow[] {
dataRow});
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(global::System.Data.DataRow[] dataRows) {
return this.Adapter.Update(dataRows);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
public virtual int Delete(string Original_COOP_ID, string Original_LOANCONTRACT_NO, decimal Original_SEQ_NO) {
if ((Original_COOP_ID == null)) {
throw new global::System.ArgumentNullException("Original_COOP_ID");
}
else {
this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_COOP_ID));
}
if ((Original_LOANCONTRACT_NO == null)) {
throw new global::System.ArgumentNullException("Original_LOANCONTRACT_NO");
}
else {
this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_LOANCONTRACT_NO));
}
this.Adapter.DeleteCommand.Parameters[2].Value = ((decimal)(Original_SEQ_NO));
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.DeleteCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.DeleteCommand.Connection.Close();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
public virtual int Insert(string COOP_ID, string LOANCONTRACT_NO, decimal SEQ_NO, string LOANITEMTYPE_CODE, global::System.Nullable SLIP_DATE, global::System.Nullable OPERATE_DATE, string REF_DOCNO, string REF_SLIPNO, global::System.Nullable PERIOD, global::System.Nullable PRINCIPAL_PAYMENT, global::System.Nullable INTEREST_PAYMENT, global::System.Nullable PRINCIPAL_BALANCE, string MONEYTYPE_CODE, string ENTRY_ID) {
if ((COOP_ID == null)) {
throw new global::System.ArgumentNullException("COOP_ID");
}
else {
this.Adapter.InsertCommand.Parameters[0].Value = ((string)(COOP_ID));
}
if ((LOANCONTRACT_NO == null)) {
throw new global::System.ArgumentNullException("LOANCONTRACT_NO");
}
else {
this.Adapter.InsertCommand.Parameters[1].Value = ((string)(LOANCONTRACT_NO));
}
this.Adapter.InsertCommand.Parameters[2].Value = ((decimal)(SEQ_NO));
if ((LOANITEMTYPE_CODE == null)) {
this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
}
else {
this.Adapter.InsertCommand.Parameters[3].Value = ((string)(LOANITEMTYPE_CODE));
}
if ((SLIP_DATE.HasValue == true)) {
this.Adapter.InsertCommand.Parameters[4].Value = ((System.DateTime)(SLIP_DATE.Value));
}
else {
this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
}
if ((OPERATE_DATE.HasValue == true)) {
this.Adapter.InsertCommand.Parameters[5].Value = ((System.DateTime)(OPERATE_DATE.Value));
}
else {
this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
}
if ((REF_DOCNO == null)) {
this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value;
}
else {
this.Adapter.InsertCommand.Parameters[6].Value = ((string)(REF_DOCNO));
}
if ((REF_SLIPNO == null)) {
this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value;
}
else {
this.Adapter.InsertCommand.Parameters[7].Value = ((string)(REF_SLIPNO));
}
if ((PERIOD.HasValue == true)) {
this.Adapter.InsertCommand.Parameters[8].Value = ((decimal)(PERIOD.Value));
}
else {
this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value;
}
if ((PRINCIPAL_PAYMENT.HasValue == true)) {
this.Adapter.InsertCommand.Parameters[9].Value = ((decimal)(PRINCIPAL_PAYMENT.Value));
}
else {
this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value;
}
if ((INTEREST_PAYMENT.HasValue == true)) {
this.Adapter.InsertCommand.Parameters[10].Value = ((decimal)(INTEREST_PAYMENT.Value));
}
else {
this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value;
}
if ((PRINCIPAL_BALANCE.HasValue == true)) {
this.Adapter.InsertCommand.Parameters[11].Value = ((decimal)(PRINCIPAL_BALANCE.Value));
}
else {
this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value;
}
if ((MONEYTYPE_CODE == null)) {
this.Adapter.InsertCommand.Parameters[12].Value = global::System.DBNull.Value;
}
else {
this.Adapter.InsertCommand.Parameters[12].Value = ((string)(MONEYTYPE_CODE));
}
if ((ENTRY_ID == null)) {
this.Adapter.InsertCommand.Parameters[13].Value = global::System.DBNull.Value;
}
else {
this.Adapter.InsertCommand.Parameters[13].Value = ((string)(ENTRY_ID));
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.InsertCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.InsertCommand.Connection.Close();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
public virtual int Update(
string COOP_ID,
string LOANCONTRACT_NO,
decimal SEQ_NO,
string LOANITEMTYPE_CODE,
global::System.Nullable SLIP_DATE,
global::System.Nullable OPERATE_DATE,
string REF_DOCNO,
string REF_SLIPNO,
global::System.Nullable PERIOD,
global::System.Nullable PRINCIPAL_PAYMENT,
global::System.Nullable INTEREST_PAYMENT,
global::System.Nullable PRINCIPAL_BALANCE,
string MONEYTYPE_CODE,
string ENTRY_ID,
string Original_COOP_ID,
string Original_LOANCONTRACT_NO,
decimal Original_SEQ_NO) {
if ((COOP_ID == null)) {
throw new global::System.ArgumentNullException("COOP_ID");
}
else {
this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(COOP_ID));
}
if ((LOANCONTRACT_NO == null)) {
throw new global::System.ArgumentNullException("LOANCONTRACT_NO");
}
else {
this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(LOANCONTRACT_NO));
}
this.Adapter.UpdateCommand.Parameters[2].Value = ((decimal)(SEQ_NO));
if ((LOANITEMTYPE_CODE == null)) {
this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(LOANITEMTYPE_CODE));
}
if ((SLIP_DATE.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[4].Value = ((System.DateTime)(SLIP_DATE.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
}
if ((OPERATE_DATE.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[5].Value = ((System.DateTime)(OPERATE_DATE.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
}
if ((REF_DOCNO == null)) {
this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(REF_DOCNO));
}
if ((REF_SLIPNO == null)) {
this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(REF_SLIPNO));
}
if ((PERIOD.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[8].Value = ((decimal)(PERIOD.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value;
}
if ((PRINCIPAL_PAYMENT.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[9].Value = ((decimal)(PRINCIPAL_PAYMENT.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value;
}
if ((INTEREST_PAYMENT.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[10].Value = ((decimal)(INTEREST_PAYMENT.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value;
}
if ((PRINCIPAL_BALANCE.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[11].Value = ((decimal)(PRINCIPAL_BALANCE.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value;
}
if ((MONEYTYPE_CODE == null)) {
this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(MONEYTYPE_CODE));
}
if ((ENTRY_ID == null)) {
this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(ENTRY_ID));
}
if ((Original_COOP_ID == null)) {
throw new global::System.ArgumentNullException("Original_COOP_ID");
}
else {
this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(Original_COOP_ID));
}
if ((Original_LOANCONTRACT_NO == null)) {
throw new global::System.ArgumentNullException("Original_LOANCONTRACT_NO");
}
else {
this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(Original_LOANCONTRACT_NO));
}
this.Adapter.UpdateCommand.Parameters[16].Value = ((decimal)(Original_SEQ_NO));
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
this.Adapter.UpdateCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
this.Adapter.UpdateCommand.Connection.Close();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
public virtual int Update(string LOANITEMTYPE_CODE, global::System.Nullable SLIP_DATE, global::System.Nullable OPERATE_DATE, string REF_DOCNO, string REF_SLIPNO, global::System.Nullable PERIOD, global::System.Nullable PRINCIPAL_PAYMENT, global::System.Nullable INTEREST_PAYMENT, global::System.Nullable PRINCIPAL_BALANCE, string MONEYTYPE_CODE, string ENTRY_ID, string Original_COOP_ID, string Original_LOANCONTRACT_NO, decimal Original_SEQ_NO) {
return this.Update(Original_COOP_ID, Original_LOANCONTRACT_NO, Original_SEQ_NO, LOANITEMTYPE_CODE, SLIP_DATE, OPERATE_DATE, REF_DOCNO, REF_SLIPNO, PERIOD, PRINCIPAL_PAYMENT, INTEREST_PAYMENT, PRINCIPAL_BALANCE, MONEYTYPE_CODE, ENTRY_ID, Original_COOP_ID, Original_LOANCONTRACT_NO, Original_SEQ_NO);
}
}
///
///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
///
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
[global::System.ComponentModel.ToolboxItem(true)]
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerDesigner, Microsoft.VSD" +
"esigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapterManager")]
public partial class TableAdapterManager : global::System.ComponentModel.Component {
private UpdateOrderOption _updateOrder;
private LNCONTSTATEMENTTableAdapter _lNCONTSTATEMENTTableAdapter;
private bool _backupDataSetBeforeUpdate;
private global::System.Data.IDbConnection _connection;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public UpdateOrderOption UpdateOrder {
get {
return this._updateOrder;
}
set {
this._updateOrder = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
"ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
"a", "System.Drawing.Design.UITypeEditor")]
public LNCONTSTATEMENTTableAdapter LNCONTSTATEMENTTableAdapter {
get {
return this._lNCONTSTATEMENTTableAdapter;
}
set {
this._lNCONTSTATEMENTTableAdapter = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool BackupDataSetBeforeUpdate {
get {
return this._backupDataSetBeforeUpdate;
}
set {
this._backupDataSetBeforeUpdate = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
public global::System.Data.IDbConnection Connection {
get {
if ((this._connection != null)) {
return this._connection;
}
if (((this._lNCONTSTATEMENTTableAdapter != null)
&& (this._lNCONTSTATEMENTTableAdapter.Connection != null))) {
return this._lNCONTSTATEMENTTableAdapter.Connection;
}
return null;
}
set {
this._connection = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
public int TableAdapterInstanceCount {
get {
int count = 0;
if ((this._lNCONTSTATEMENTTableAdapter != null)) {
count = (count + 1);
}
return count;
}
}
///
///Update rows in top-down order.
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private int UpdateUpdatedRows(DataSet1 dataSet, global::System.Collections.Generic.List allChangedRows, global::System.Collections.Generic.List allAddedRows) {
int result = 0;
if ((this._lNCONTSTATEMENTTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.LNCONTSTATEMENT.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
if (((updatedRows != null)
&& (0 < updatedRows.Length))) {
result = (result + this._lNCONTSTATEMENTTableAdapter.Update(updatedRows));
allChangedRows.AddRange(updatedRows);
}
}
return result;
}
///
///Insert rows in top-down order.
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private int UpdateInsertedRows(DataSet1 dataSet, global::System.Collections.Generic.List allAddedRows) {
int result = 0;
if ((this._lNCONTSTATEMENTTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.LNCONTSTATEMENT.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
&& (0 < addedRows.Length))) {
result = (result + this._lNCONTSTATEMENTTableAdapter.Update(addedRows));
allAddedRows.AddRange(addedRows);
}
}
return result;
}
///
///Delete rows in bottom-up order.
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private int UpdateDeletedRows(DataSet1 dataSet, global::System.Collections.Generic.List allChangedRows) {
int result = 0;
if ((this._lNCONTSTATEMENTTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.LNCONTSTATEMENT.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
&& (0 < deletedRows.Length))) {
result = (result + this._lNCONTSTATEMENTTableAdapter.Update(deletedRows));
allChangedRows.AddRange(deletedRows);
}
}
return result;
}
///
///Remove inserted rows that become updated rows after calling TableAdapter.Update(inserted rows) first
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private global::System.Data.DataRow[] GetRealUpdatedRows(global::System.Data.DataRow[] updatedRows, global::System.Collections.Generic.List allAddedRows) {
if (((updatedRows == null)
|| (updatedRows.Length < 1))) {
return updatedRows;
}
if (((allAddedRows == null)
|| (allAddedRows.Count < 1))) {
return updatedRows;
}
global::System.Collections.Generic.List realUpdatedRows = new global::System.Collections.Generic.List();
for (int i = 0; (i < updatedRows.Length); i = (i + 1)) {
global::System.Data.DataRow row = updatedRows[i];
if ((allAddedRows.Contains(row) == false)) {
realUpdatedRows.Add(row);
}
}
return realUpdatedRows.ToArray();
}
///
///Update all changes to the dataset.
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public virtual int UpdateAll(DataSet1 dataSet) {
if ((dataSet == null)) {
throw new global::System.ArgumentNullException("dataSet");
}
if ((dataSet.HasChanges() == false)) {
return 0;
}
if (((this._lNCONTSTATEMENTTableAdapter != null)
&& (this.MatchTableAdapterConnection(this._lNCONTSTATEMENTTableAdapter.Connection) == false))) {
throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" +
"tring.");
}
global::System.Data.IDbConnection workConnection = this.Connection;
if ((workConnection == null)) {
throw new global::System.ApplicationException("TableAdapterManager contains no connection information. Set each TableAdapterMana" +
"ger TableAdapter property to a valid TableAdapter instance.");
}
bool workConnOpened = false;
if (((workConnection.State & global::System.Data.ConnectionState.Broken)
== global::System.Data.ConnectionState.Broken)) {
workConnection.Close();
}
if ((workConnection.State == global::System.Data.ConnectionState.Closed)) {
workConnection.Open();
workConnOpened = true;
}
global::System.Data.IDbTransaction workTransaction = workConnection.BeginTransaction();
if ((workTransaction == null)) {
throw new global::System.ApplicationException("The transaction cannot begin. The current data connection does not support transa" +
"ctions or the current state is not allowing the transaction to begin.");
}
global::System.Collections.Generic.List allChangedRows = new global::System.Collections.Generic.List();
global::System.Collections.Generic.List allAddedRows = new global::System.Collections.Generic.List();
global::System.Collections.Generic.List adaptersWithAcceptChangesDuringUpdate = new global::System.Collections.Generic.List();
global::System.Collections.Generic.Dictionary