Exemple #1
0
 public override global::System.Data.DataSet Clone()
 {
     try
     {
         dsUserAudit cln = ((dsUserAudit)(base.Clone()));
         cln.InitVars();
         cln.SchemaSerializationMode = this.SchemaSerializationMode;
         return(cln);
     }
     catch (Exception ex)
     {
         VMuktiHelper.ExceptionHandler(ex, "Clone()", "dsUserAudit.Designer.cs");
         return(null);
     }
 }
Exemple #2
0
 public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs)
 {
     try
     {
         dsUserAudit ds = new dsUserAudit();
         global::System.Xml.Schema.XmlSchemaComplexType type     = new global::System.Xml.Schema.XmlSchemaComplexType();
         global::System.Xml.Schema.XmlSchemaSequence    sequence = new global::System.Xml.Schema.XmlSchemaSequence();
         xs.Add(ds.GetSchemaSerializable());
         global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny();
         any.Namespace = ds.Namespace;
         sequence.Items.Add(any);
         type.Particle = sequence;
         return(type);
     }
     catch (Exception ex)
     {
         VMuktiHelper.ExceptionHandler(ex, "GetTypedDataSetSchema()", "dsUserAudit.Designer.cs");
         return(null);
     }
 }
Exemple #3
0
            public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs)
            {
                try
                {
                    global::System.Xml.Schema.XmlSchemaComplexType type     = new global::System.Xml.Schema.XmlSchemaComplexType();
                    global::System.Xml.Schema.XmlSchemaSequence    sequence = new global::System.Xml.Schema.XmlSchemaSequence();
                    dsUserAudit ds = new dsUserAudit();
                    xs.Add(ds.GetSchemaSerializable());
                    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 = "dtUserAuditDataTable";
                    type.Attributes.Add(attribute2);
                    type.Particle = sequence;
                    return(type);
                }

                catch (Exception ex)
                {
                    VMuktiHelper.ExceptionHandler(ex, "GetTypedTableSchema()", "dsUserAudit.Designer.cs");
                    return(null);
                }
            }