예제 #1
0
파일: DsSendList.cs 프로젝트: TGHGH/MES-CAR
 public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
 {
     XmlSchemaComplexType type = new XmlSchemaComplexType();
     XmlSchemaSequence sequence = new XmlSchemaSequence();
     DsSendList list = new DsSendList();
     xs.Add(list.GetSchemaSerializable());
     XmlSchemaAny item = new XmlSchemaAny {
         Namespace = "http://www.w3.org/2001/XMLSchema",
         MinOccurs = 0M,
         MaxOccurs = 79228162514264337593543950335M,
         ProcessContents = XmlSchemaContentProcessing.Lax
     };
     sequence.Items.Add(item);
     XmlSchemaAny any2 = new XmlSchemaAny {
         Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1",
         MinOccurs = 1M,
         ProcessContents = XmlSchemaContentProcessing.Lax
     };
     sequence.Items.Add(any2);
     XmlSchemaAttribute attribute = new XmlSchemaAttribute {
         Name = "namespace",
         FixedValue = list.Namespace
     };
     type.Attributes.Add(attribute);
     XmlSchemaAttribute attribute2 = new XmlSchemaAttribute {
         Name = "tableTypeName",
         FixedValue = "V_NPDataTable"
     };
     type.Attributes.Add(attribute2);
     type.Particle = sequence;
     return type;
 }
예제 #2
0
파일: DsSendList.cs 프로젝트: TGHGH/MES-CAR
 public V_ListRowChangeEvent(DsSendList.V_ListRow row, DataRowAction action)
 {
     this.eventRow = row;
     this.eventAction = action;
 }
예제 #3
0
파일: DsSendList.cs 프로젝트: TGHGH/MES-CAR
 public void RemoveV_ListRow(DsSendList.V_ListRow row)
 {
     base.Rows.Remove(row);
 }
예제 #4
0
파일: DsSendList.cs 프로젝트: TGHGH/MES-CAR
 public void AddV_ListRow(DsSendList.V_ListRow row)
 {
     base.Rows.Add(row);
 }
예제 #5
0
파일: DsSendList.cs 프로젝트: TGHGH/MES-CAR
 public static XmlSchemaComplexType GetTypedDataSetSchema(XmlSchemaSet xs)
 {
     DsSendList list = new DsSendList();
     XmlSchemaComplexType type = new XmlSchemaComplexType();
     XmlSchemaSequence sequence = new XmlSchemaSequence();
     xs.Add(list.GetSchemaSerializable());
     XmlSchemaAny item = new XmlSchemaAny {
         Namespace = list.Namespace
     };
     sequence.Items.Add(item);
     type.Particle = sequence;
     return type;
 }
예제 #6
0
 public virtual int Fill(DsSendList.V_SendListDataTable dataTable)
 {
     this.Adapter.SelectCommand = this.CommandCollection[0];
     if (this.ClearBeforeFill)
     {
         dataTable.Clear();
     }
     return this.Adapter.Fill(dataTable);
 }