本文整理汇总了C#中global.GetValue方法的典型用法代码示例。如果您正苦于以下问题:C# global.GetValue方法的具体用法?C# global.GetValue怎么用?C# global.GetValue使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类global
的用法示例。
在下文中一共展示了global.GetValue方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: ExampleDatabaseDataSet
protected ExampleDatabaseDataSet(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)));
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;
}
示例2: DocumentsBetta2DataSet
protected DocumentsBetta2DataSet(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["docs"] != null)) {
base.Tables.Add(new docsDataTable(ds.Tables["docs"]));
}
if ((ds.Tables["typedocsExt"] != null)) {
base.Tables.Add(new typedocsExtDataTable(ds.Tables["typedocsExt"]));
}
if ((ds.Tables["ourorgs"] != null)) {
base.Tables.Add(new ourorgsDataTable(ds.Tables["ourorgs"]));
}
if ((ds.Tables["typeorgs"] != null)) {
base.Tables.Add(new typeorgsDataTable(ds.Tables["typeorgs"]));
}
if ((ds.Tables["objects"] != null)) {
base.Tables.Add(new objectsDataTable(ds.Tables["objects"]));
}
if ((ds.Tables["typedocsInt"] != null)) {
base.Tables.Add(new typedocsIntDataTable(ds.Tables["typedocsInt"]));
}
if ((ds.Tables["fizlico"] != null)) {
base.Tables.Add(new fizlicoDataTable(ds.Tables["fizlico"]));
}
if ((ds.Tables["jurlico"] != null)) {
base.Tables.Add(new jurlicoDataTable(ds.Tables["jurlico"]));
}
if ((ds.Tables["partners"] != null)) {
base.Tables.Add(new partnersDataTable(ds.Tables["partners"]));
}
if ((ds.Tables["docsView"] != null)) {
base.Tables.Add(new docsViewDataTable(ds.Tables["docsView"]));
}
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;
}
示例3: CallButlerDataset
protected CallButlerDataset(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["Greetings"] != null)) {
base.Tables.Add(new GreetingsDataTable(ds.Tables["Greetings"]));
}
if ((ds.Tables["LocalizedGreetings"] != null)) {
base.Tables.Add(new LocalizedGreetingsDataTable(ds.Tables["LocalizedGreetings"]));
}
if ((ds.Tables["CallHistory"] != null)) {
base.Tables.Add(new CallHistoryDataTable(ds.Tables["CallHistory"]));
}
if ((ds.Tables["Departments"] != null)) {
base.Tables.Add(new DepartmentsDataTable(ds.Tables["Departments"]));
}
if ((ds.Tables["Extensions"] != null)) {
base.Tables.Add(new ExtensionsDataTable(ds.Tables["Extensions"]));
}
if ((ds.Tables["ExtensionContactNumbers"] != null)) {
base.Tables.Add(new ExtensionContactNumbersDataTable(ds.Tables["ExtensionContactNumbers"]));
}
if ((ds.Tables["Voicemails"] != null)) {
base.Tables.Add(new VoicemailsDataTable(ds.Tables["Voicemails"]));
}
if ((ds.Tables["PersonalizedGreetings"] != null)) {
base.Tables.Add(new PersonalizedGreetingsDataTable(ds.Tables["PersonalizedGreetings"]));
}
if ((ds.Tables["Providers"] != null)) {
base.Tables.Add(new ProvidersDataTable(ds.Tables["Providers"]));
}
if ((ds.Tables["ScriptSchedules"] != null)) {
base.Tables.Add(new ScriptSchedulesDataTable(ds.Tables["ScriptSchedules"]));
}
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;
}
示例4: Tier2Set
protected Tier2Set(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
base(info, context, false) {
if ((IsBinarySerialized(info, context) == true)) {
InitVars(false);
global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::System.ComponentModel.CollectionChangeEventHandler(SchemaChanged);
Tables.CollectionChanged += schemaChangedHandler1;
Relations.CollectionChanged += schemaChangedHandler1;
return;
}
string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
if ((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["SoldProducts"] != null)) {
base.Tables.Add(new SoldProductsDataTable(ds.Tables["SoldProducts"]));
}
DataSetName = ds.DataSetName;
Prefix = ds.Prefix;
Namespace = ds.Namespace;
Locale = ds.Locale;
CaseSensitive = ds.CaseSensitive;
EnforceConstraints = ds.EnforceConstraints;
Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
InitVars();
}
else {
ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
}
GetSerializationData(info, context);
global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(SchemaChanged);
base.Tables.CollectionChanged += schemaChangedHandler;
Relations.CollectionChanged += schemaChangedHandler;
}
示例5: DashboardTDS
protected DashboardTDS(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["DashboardUnassignedServiceRequests"] != null)) {
base.Tables.Add(new DashboardUnassignedServiceRequestsDataTable(ds.Tables["DashboardUnassignedServiceRequests"]));
}
if ((ds.Tables["DashboardExpiredServiceRequests"] != null)) {
base.Tables.Add(new DashboardExpiredServiceRequestsDataTable(ds.Tables["DashboardExpiredServiceRequests"]));
}
if ((ds.Tables["DashboardItemsAboutToExpire"] != null)) {
base.Tables.Add(new DashboardItemsAboutToExpireDataTable(ds.Tables["DashboardItemsAboutToExpire"]));
}
if ((ds.Tables["DashboardMyServiceRequests"] != null)) {
base.Tables.Add(new DashboardMyServiceRequestsDataTable(ds.Tables["DashboardMyServiceRequests"]));
}
if ((ds.Tables["DashboardInProgressServiceRequests"] != null)) {
base.Tables.Add(new DashboardInProgressServiceRequestsDataTable(ds.Tables["DashboardInProgressServiceRequests"]));
}
if ((ds.Tables["DashboardChecklistAlarms"] != null)) {
base.Tables.Add(new DashboardChecklistAlarmsDataTable(ds.Tables["DashboardChecklistAlarms"]));
}
if ((ds.Tables["DashboardMyToDoList"] != null)) {
base.Tables.Add(new DashboardMyToDoListDataTable(ds.Tables["DashboardMyToDoList"]));
}
if ((ds.Tables["DashboardMyToDoListOnHold"] != null)) {
base.Tables.Add(new DashboardMyToDoListOnHoldDataTable(ds.Tables["DashboardMyToDoListOnHold"]));
}
if ((ds.Tables["DashboardToDoListAssignedToMe"] != null)) {
base.Tables.Add(new DashboardToDoListAssignedToMeDataTable(ds.Tables["DashboardToDoListAssignedToMe"]));
}
if ((ds.Tables["DashboardToDoListAssignedToMeOnHold"] != null)) {
base.Tables.Add(new DashboardToDoListAssignedToMeOnHoldDataTable(ds.Tables["DashboardToDoListAssignedToMeOnHold"]));
}
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;
}
示例6: WAYBILL_ADDITION
protected WAYBILL_ADDITION(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["SUBREGION"] != null))
{
base.Tables.Add(new SUBREGIONDataTable(ds.Tables["SUBREGION"]));
}
if ((ds.Tables["DESTINATION_CODE"] != null))
{
base.Tables.Add(new DESTINATION_CODEDataTable(ds.Tables["DESTINATION_CODE"]));
}
if ((ds.Tables["BOX"] != null))
{
base.Tables.Add(new BOXDataTable(ds.Tables["BOX"]));
}
if ((ds.Tables["UDF_HEADER"] != null))
{
base.Tables.Add(new UDF_HEADERDataTable(ds.Tables["UDF_HEADER"]));
}
if ((ds.Tables["UDF_DETAIL"] != null))
{
base.Tables.Add(new UDF_DETAILDataTable(ds.Tables["UDF_DETAIL"]));
}
if ((ds.Tables["UDF_BOX"] != null))
{
base.Tables.Add(new UDF_BOXDataTable(ds.Tables["UDF_BOX"]));
}
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;
}
示例7: TDSLFSRecord
protected TDSLFSRecord(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["LFS_MASTER_AREA"] != null)) {
base.Tables.Add(new LFS_MASTER_AREADataTable(ds.Tables["LFS_MASTER_AREA"]));
}
if ((ds.Tables["LFS_M2_TABLES"] != null)) {
base.Tables.Add(new LFS_M2_TABLESDataTable(ds.Tables["LFS_M2_TABLES"]));
}
if ((ds.Tables["LFS_POINT_REPAIRS"] != null)) {
base.Tables.Add(new LFS_POINT_REPAIRSDataTable(ds.Tables["LFS_POINT_REPAIRS"]));
}
if ((ds.Tables["LFS_MASTER_AREA_RCT"] != null)) {
base.Tables.Add(new LFS_MASTER_AREA_RCTDataTable(ds.Tables["LFS_MASTER_AREA_RCT"]));
}
if ((ds.Tables["LFS_POINT_REPAIRS_RCT"] != null)) {
base.Tables.Add(new LFS_POINT_REPAIRS_RCTDataTable(ds.Tables["LFS_POINT_REPAIRS_RCT"]));
}
if ((ds.Tables["LFS_M2_TABLES_RCT"] != null)) {
base.Tables.Add(new LFS_M2_TABLES_RCTDataTable(ds.Tables["LFS_M2_TABLES_RCT"]));
}
if ((ds.Tables["LFS_JUNCTION_LINER"] != null)) {
base.Tables.Add(new LFS_JUNCTION_LINERDataTable(ds.Tables["LFS_JUNCTION_LINER"]));
}
if ((ds.Tables["LFS_JUNCTION_LINER_RCT"] != null)) {
base.Tables.Add(new LFS_JUNCTION_LINER_RCTDataTable(ds.Tables["LFS_JUNCTION_LINER_RCT"]));
}
if ((ds.Tables["LFS_JUNCTION_LINER2"] != null)) {
base.Tables.Add(new LFS_JUNCTION_LINER2DataTable(ds.Tables["LFS_JUNCTION_LINER2"]));
}
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;
}
示例8: HtmlUnitTestReport
protected HtmlUnitTestReport(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["ResponseDocument"] != null)) {
base.Tables.Add(new ResponseDocumentDataTable(ds.Tables["ResponseDocument"]));
}
if ((ds.Tables["RequestHeader"] != null)) {
base.Tables.Add(new RequestHeaderDataTable(ds.Tables["RequestHeader"]));
}
if ((ds.Tables["RequestItems"] != null)) {
base.Tables.Add(new RequestItemsDataTable(ds.Tables["RequestItems"]));
}
if ((ds.Tables["ResponseHeader"] != null)) {
base.Tables.Add(new ResponseHeaderDataTable(ds.Tables["ResponseHeader"]));
}
if ((ds.Tables["ResponseItems"] != null)) {
base.Tables.Add(new ResponseItemsDataTable(ds.Tables["ResponseItems"]));
}
if ((ds.Tables["Cookies"] != null)) {
base.Tables.Add(new CookiesDataTable(ds.Tables["Cookies"]));
}
if ((ds.Tables["TestItem"] != null)) {
base.Tables.Add(new TestItemDataTable(ds.Tables["TestItem"]));
}
if ((ds.Tables["Form"] != null)) {
base.Tables.Add(new FormDataTable(ds.Tables["Form"]));
}
if ((ds.Tables["Tests"] != null)) {
base.Tables.Add(new TestsDataTable(ds.Tables["Tests"]));
}
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;
}
示例9: AFIPartsDataSet
protected AFIPartsDataSet(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["Customer"] != null)) {
base.Tables.Add(new CustomerDataTable(ds.Tables["Customer"]));
}
if ((ds.Tables["PartCustLink"] != null)) {
base.Tables.Add(new PartCustLinkDataTable(ds.Tables["PartCustLink"]));
}
if ((ds.Tables["PO"] != null)) {
base.Tables.Add(new PODataTable(ds.Tables["PO"]));
}
if ((ds.Tables["STATES"] != null)) {
base.Tables.Add(new STATESDataTable(ds.Tables["STATES"]));
}
if ((ds.Tables["CustBillShipAddr"] != null)) {
base.Tables.Add(new CustBillShipAddrDataTable(ds.Tables["CustBillShipAddr"]));
}
if ((ds.Tables["Color"] != null)) {
base.Tables.Add(new ColorDataTable(ds.Tables["Color"]));
}
if ((ds.Tables["Parts"] != null)) {
base.Tables.Add(new PartsDataTable(ds.Tables["Parts"]));
}
if ((ds.Tables["LINESPEED"] != null)) {
base.Tables.Add(new LINESPEEDDataTable(ds.Tables["LINESPEED"]));
}
if ((ds.Tables["Shippers"] != null)) {
base.Tables.Add(new ShippersDataTable(ds.Tables["Shippers"]));
}
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;
}
示例10: SchemaReader
protected SchemaReader(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["Entities"] != null)) {
base.Tables.Add(new EntitiesDataTable(ds.Tables["Entities"]));
}
if ((ds.Tables["FieldDefinitions"] != null)) {
base.Tables.Add(new FieldDefinitionsDataTable(ds.Tables["FieldDefinitions"]));
}
if ((ds.Tables["ChildRelations"] != null)) {
base.Tables.Add(new ChildRelationsDataTable(ds.Tables["ChildRelations"]));
}
if ((ds.Tables["ForeignRelations"] != null)) {
base.Tables.Add(new ForeignRelationsDataTable(ds.Tables["ForeignRelations"]));
}
if ((ds.Tables["KeyInfo"] != null)) {
base.Tables.Add(new KeyInfoDataTable(ds.Tables["KeyInfo"]));
}
if ((ds.Tables["TABLE_CONSTRAINTS"] != null)) {
base.Tables.Add(new TABLE_CONSTRAINTSDataTable(ds.Tables["TABLE_CONSTRAINTS"]));
}
if ((ds.Tables["CONSTRAINT_COLUMN_USAGE"] != null)) {
base.Tables.Add(new CONSTRAINT_COLUMN_USAGEDataTable(ds.Tables["CONSTRAINT_COLUMN_USAGE"]));
}
if ((ds.Tables["SCHEMATA"] != null)) {
base.Tables.Add(new SCHEMATADataTable(ds.Tables["SCHEMATA"]));
}
if ((ds.Tables["DBObjProperties"] != null)) {
base.Tables.Add(new DBObjPropertiesDataTable(ds.Tables["DBObjProperties"]));
}
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;
}
示例11: SPDataProxy
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]protected SPDataProxy(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 += new System.ComponentModel.CollectionChangeEventHandler(schemaChangedHandler1);
this.Relations.CollectionChanged += new System.ComponentModel.CollectionChangeEventHandler(schemaChangedHandler1);
return;
}
string strSchema = System.Convert.ToString(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["SPMaster"]) == null)
{
base.Tables.Add(new SPMasterDataTable(ds.Tables["SPMaster"]));
}
if (!(ds.Tables["SPNotes"]) == null)
{
base.Tables.Add(new SPNotesDataTable(ds.Tables["SPNotes"]));
}
if (!(ds.Tables["SPAutoId"]) == null)
{
base.Tables.Add(new SPAutoIdDataTable(ds.Tables["SPAutoId"]));
}
if (!(ds.Tables["SPCompany"]) == null)
{
base.Tables.Add(new SPCompanyDataTable(ds.Tables["SPCompany"]));
}
if (!(ds.Tables["SPPayMode"]) == null)
{
base.Tables.Add(new SPPayModeDataTable(ds.Tables["SPPayMode"]));
}
if (!(ds.Tables["SPLookup"]) == null)
{
base.Tables.Add(new SPLookupDataTable(ds.Tables["SPLookup"]));
}
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 += new System.ComponentModel.CollectionChangeEventHandler(schemaChangedHandler);
this.Relations.CollectionChanged += new System.ComponentModel.CollectionChangeEventHandler(schemaChangedHandler);
}
示例12: UIDataSet
protected UIDataSet(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["ShipPimperBaseList"] != null)) {
base.Tables.Add(new ShipPimperBaseListDataTable(ds.Tables["ShipPimperBaseList"]));
}
if ((ds.Tables["ShipPimperItemList"] != null)) {
base.Tables.Add(new ShipPimperItemListDataTable(ds.Tables["ShipPimperItemList"]));
}
if ((ds.Tables["RepFixerItemList"] != null)) {
base.Tables.Add(new RepFixerItemListDataTable(ds.Tables["RepFixerItemList"]));
}
if ((ds.Tables["RepFixerItemFactions"] != null)) {
base.Tables.Add(new RepFixerItemFactionsDataTable(ds.Tables["RepFixerItemFactions"]));
}
if ((ds.Tables["ShipPurchaseRestrictionItems"] != null)) {
base.Tables.Add(new ShipPurchaseRestrictionItemsDataTable(ds.Tables["ShipPurchaseRestrictionItems"]));
}
if ((ds.Tables["StandardBannerList"] != null)) {
base.Tables.Add(new StandardBannerListDataTable(ds.Tables["StandardBannerList"]));
}
if ((ds.Tables["BaseGoodNoBuyList"] != null)) {
base.Tables.Add(new BaseGoodNoBuyListDataTable(ds.Tables["BaseGoodNoBuyList"]));
}
if ((ds.Tables["EquipPurchaseRestrictionItems"] != null)) {
base.Tables.Add(new EquipPurchaseRestrictionItemsDataTable(ds.Tables["EquipPurchaseRestrictionItems"]));
}
if ((ds.Tables["SysSensorList"] != null)) {
base.Tables.Add(new SysSensorListDataTable(ds.Tables["SysSensorList"]));
}
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;
}
示例13: DSFichaPropiedadv2
protected DSFichaPropiedadv2(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["Propiedad"] != null)) {
base.Tables.Add(new PropiedadDataTable(ds.Tables["Propiedad"]));
}
if ((ds.Tables["Superficies"] != null)) {
base.Tables.Add(new SuperficiesDataTable(ds.Tables["Superficies"]));
}
if ((ds.Tables["CaracteristicasPrincipales"] != null)) {
base.Tables.Add(new CaracteristicasPrincipalesDataTable(ds.Tables["CaracteristicasPrincipales"]));
}
if ((ds.Tables["Region1"] != null)) {
base.Tables.Add(new Region1DataTable(ds.Tables["Region1"]));
}
if ((ds.Tables["Region2"] != null)) {
base.Tables.Add(new Region2DataTable(ds.Tables["Region2"]));
}
if ((ds.Tables["Region3"] != null)) {
base.Tables.Add(new Region3DataTable(ds.Tables["Region3"]));
}
if ((ds.Tables["Region4"] != null)) {
base.Tables.Add(new Region4DataTable(ds.Tables["Region4"]));
}
if ((ds.Tables["Region5"] != null)) {
base.Tables.Add(new Region5DataTable(ds.Tables["Region5"]));
}
if ((ds.Tables["Encabezados"] != null)) {
base.Tables.Add(new EncabezadosDataTable(ds.Tables["Encabezados"]));
}
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;
}
示例14: DataSet1
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["viewPayrollByInstructor"] != null)) {
base.Tables.Add(new viewPayrollByInstructorDataTable(ds.Tables["viewPayrollByInstructor"]));
}
if ((ds.Tables["GetPayrollByInstructor"] != null)) {
base.Tables.Add(new GetPayrollByInstructorDataTable(ds.Tables["GetPayrollByInstructor"]));
}
if ((ds.Tables["viewInstructorPaymentDetails"] != null)) {
base.Tables.Add(new viewInstructorPaymentDetailsDataTable(ds.Tables["viewInstructorPaymentDetails"]));
}
if ((ds.Tables["viewSimpleProgramInfo"] != null)) {
base.Tables.Add(new viewSimpleProgramInfoDataTable(ds.Tables["viewSimpleProgramInfo"]));
}
if ((ds.Tables["ViewProgramReport"] != null)) {
base.Tables.Add(new ViewProgramReportDataTable(ds.Tables["ViewProgramReport"]));
}
if ((ds.Tables["viewProgramReportClassDetails"] != null)) {
base.Tables.Add(new viewProgramReportClassDetailsDataTable(ds.Tables["viewProgramReportClassDetails"]));
}
if ((ds.Tables["PivotReport"] != null)) {
base.Tables.Add(new PivotReportDataTable(ds.Tables["PivotReport"]));
}
if ((ds.Tables["viewPivotCourseDetails"] != null)) {
base.Tables.Add(new viewPivotCourseDetailsDataTable(ds.Tables["viewPivotCourseDetails"]));
}
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;
}
示例15: TeamProjectTime2TDS
protected TeamProjectTime2TDS(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["LFS_TEAM_PROJECT_TIME_DETAIL"] != null)) {
base.Tables.Add(new LFS_TEAM_PROJECT_TIME_DETAILDataTable(ds.Tables["LFS_TEAM_PROJECT_TIME_DETAIL"]));
}
if ((ds.Tables["LFS_TEAM_PROJECT_TIME_DETAIL_TEMP"] != null)) {
base.Tables.Add(new LFS_TEAM_PROJECT_TIME_DETAIL_TEMPDataTable(ds.Tables["LFS_TEAM_PROJECT_TIME_DETAIL_TEMP"]));
}
if ((ds.Tables["Template"] != null)) {
base.Tables.Add(new TemplateDataTable(ds.Tables["Template"]));
}
if ((ds.Tables["TEAM_PROJECT_TIME_WORK_FUNCTION_CONCAT"] != null)) {
base.Tables.Add(new TEAM_PROJECT_TIME_WORK_FUNCTION_CONCATDataTable(ds.Tables["TEAM_PROJECT_TIME_WORK_FUNCTION_CONCAT"]));
}
if ((ds.Tables["LFS_TEAM_PROJECT_TIME"] != null)) {
base.Tables.Add(new LFS_TEAM_PROJECT_TIMEDataTable(ds.Tables["LFS_TEAM_PROJECT_TIME"]));
}
if ((ds.Tables["LFS_TEAM_PROJECT_TIME_SECTION"] != null)) {
base.Tables.Add(new LFS_TEAM_PROJECT_TIME_SECTIONDataTable(ds.Tables["LFS_TEAM_PROJECT_TIME_SECTION"]));
}
if ((ds.Tables["LFS_TEAM_PROJECT_TIME_SECTION_LATERAL"] != null)) {
base.Tables.Add(new LFS_TEAM_PROJECT_TIME_SECTION_LATERALDataTable(ds.Tables["LFS_TEAM_PROJECT_TIME_SECTION_LATERAL"]));
}
if ((ds.Tables["LFS_TEAM_PROJECT_TIME_SECTION_MH"] != null)) {
base.Tables.Add(new LFS_TEAM_PROJECT_TIME_SECTION_MHDataTable(ds.Tables["LFS_TEAM_PROJECT_TIME_SECTION_MH"]));
}
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;
}