fx\src\data\System\Data\CodeGen\datacache.cs (9)
32public static void Generate(DataSet dataSet, CodeNamespace codeNamespace, ICodeGenerator codeGen) {
73internal CodeTypeDeclaration GenerateCode(DataSet dataSet, CodeNamespace codeNamespace, ICodeGenerator codeGen) {
1010private CodeTypeDeclaration CreateTypedDataSet(DataSet dataSet) {
1013dataSetClass.BaseTypes.Add(typeof(DataSet));
1066schemaBody.Add(VariableDecl(typeof(DataSet),"ds",New(typeof(DataSet),new CodeExpression[] {})));
1110CodeMemberMethod clone = MethodDecl(typeof(DataSet), "Clone", MemberAttributes.Public | MemberAttributes.Override); {
1224readXmlSerializable.Statements.Add(VariableDecl(typeof(DataSet),"ds",New(typeof(DataSet),new CodeExpression[] {})));
fx\src\data\System\Data\Common\DataAdapter.cs (10)
323virtual public DataTable[] FillSchema(DataSet dataSet, SchemaType schemaType) { // V1.0.3300
327virtual protected DataTable[] FillSchema(DataSet dataSet, SchemaType schemaType, string srcTable, IDataReader dataReader) { // V1.2.3300
375internal object FillSchemaFromReader(DataSet dataset, DataTable datatable, SchemaType schemaType, string srcTable, IDataReader dataReader) {
414virtual public int Fill(DataSet dataSet) { // V1.0.3300
418virtual protected int Fill(DataSet dataSet, string srcTable, IDataReader dataReader, int startRecord, int maxRecords) { // V1.2.3300, DbDataAdapter V1.0.3300
471DataSet commonDataSet = dataTables[0].DataSet;
531internal int FillFromReader(DataSet dataset, DataTable datatable, string srcTable, DataReaderContainer dataReader, int startRecord, int maxRecords, DataColumn parentChapterColumn, object parentChapterValue) {
652private SchemaMapping FillMappingInternal(DataSet dataset, DataTable datatable, string srcTable, DataReaderContainer dataReader, int schemaCount, DataColumn parentChapterColumn, object parentChapterValue) {
661private SchemaMapping FillMapping(DataSet dataset, DataTable datatable, string srcTable, DataReaderContainer dataReader, int schemaCount, DataColumn parentChapterColumn, object parentChapterValue) {
743virtual public int Update(DataSet dataSet) { // V1.0.3300
fx\src\data\System\Data\Common\DbDataAdapter.cs (11)
269override public DataTable[] FillSchema(DataSet dataSet, SchemaType schemaType) { // V1.0.3300
285public DataTable[] FillSchema(DataSet dataSet, SchemaType schemaType, string srcTable) { // V1.0.3300
298virtual protected DataTable[] FillSchema(DataSet dataSet, SchemaType schemaType, IDbCommand command, string srcTable, CommandBehavior behavior) { // V1.0.3300
344private object FillSchemaInternal(DataSet dataset, DataTable datatable, SchemaType schemaType, IDbCommand command, string srcTable, CommandBehavior behavior) {
375override public int Fill(DataSet dataSet) { // V1.0.3300
389public int Fill(DataSet dataSet, string srcTable) { // V1.0.3300
403public int Fill(DataSet dataSet, int startRecord, int maxRecords, string srcTable) { // V1.0.3300
417virtual protected int Fill(DataSet dataSet, int startRecord, int maxRecords, string srcTable, IDbCommand command, CommandBehavior behavior) { // V1.0.3300
514private int FillInternal(DataSet dataset, DataTable[] datatables, int startRecord, int maxRecords, string srcTable, IDbCommand command, CommandBehavior behavior) {
704override public int Update(DataSet dataSet) { // V1.0.3300
766public int Update(DataSet dataSet, string srcTable) { // V1.0.3300
fx\src\data\System\Data\DataSet.cs (59)
99/// <para>Initializes a new instance of the <see cref='System.Data.DataSet'/> class.</para>
111/// <para>Initializes a new instance of a <see cref='System.Data.DataSet'/>
560/// <para>Gets a custom view of the data contained by the <see cref='System.Data.DataSet'/> , one
638/// sets the name of this <see cref='System.Data.DataSet'/> .</para>
747/// of the rows in any of the tables of this <see cref='System.Data.DataSet'/> .
929/// Resets the <see cref='System.Data.DataSet.Relations'/> property to its default state.
938/// <para>Gets the collection of tables contained in the <see cref='System.Data.DataSet'/>.</para>
953/// Indicates whether <see cref='System.Data.DataSet.Tables'/> property should be persisted.
962/// Resets the <see cref='System.Data.DataSet.Tables'/> property to its default state.
981/// Commits all the changes made to this <see cref='System.Data.DataSet'/> since it was loaded or the last
982/// time <see cref='System.Data.DataSet.AcceptChanges'/> was called.
1076/// <para>Clears the <see cref='System.Data.DataSet'/> of any data by removing all rows in all tables.</para>
1096/// <para>Clones the structure of the <see cref='System.Data.DataSet'/>, including all <see cref='System.Data.DataTable'/> schemas, relations, and
1101public virtual DataSet Clone() {
1105DataSet ds = (DataSet)Activator.CreateInstance(this.GetType(), true);
1179/// <para>Copies both the structure and data for this <see cref='System.Data.DataSet'/>.</para>
1181public DataSet Copy()
1186DataSet dsNew = Clone();
1223/// <para>Returns a copy of the <see cref='System.Data.DataSet'/> that contains all changes made to
1224/// it since it was loaded or <see cref='System.Data.DataSet.AcceptChanges'/>
1227public DataSet GetChanges()
1254public DataSet GetChanges(DataRowState rowStates)
1259DataSet dsNew = null;
1435/// <para>Gets a value indicating whether the <see cref='System.Data.DataSet'/> has changes, including new,
1444/// <para>Gets a value indicating whether the <see cref='System.Data.DataSet'/> has changes, including new,
1477/// <para>Infer the XML schema from the specified <see cref='System.IO.TextReader'/> into the <see cref='System.Data.DataSet'/>.</para>
1505/// <para>Infer the XML schema from the specified <see cref='System.IO.TextReader'/> into the <see cref='System.Data.DataSet'/>.</para>
1516/// <para>Infer the XML schema from the specified <see cref='System.IO.TextReader'/> into the <see cref='System.Data.DataSet'/>.</para>
1527/// <para>Infer the XML schema from the specified file into the <see cref='System.Data.DataSet'/>.</para>
1543/// <para>Reads the XML schema from the specified <see cref='T:System.Xml.XMLReader'/> into the <see cref='System.Data.DataSet'/>
1712/// <see cref='System.Data.DataSet'/>.</para>
1723/// <para>Reads the XML schema from the specified <see cref='System.IO.TextReader'/> into the <see cref='System.Data.DataSet'/>.</para>
1734/// <para>Reads the XML schema from the specified file into the <see cref='System.Data.DataSet'/>.</para>
1750/// <summary>Writes the <see cref='DataSet'/> structure as an XML schema to using the specified <see cref='Stream'/> object.</summary>
1757/// <summary>Writes the <see cref='DataSet'/> structure as an XML schema to using the specified <see cref='Stream'/> object.</summary>
1766/// <summary>Writes the <see cref='DataSet'/> structure as an XML schema to a file.</summary>
1775/// <summary>Writes the <see cref='DataSet'/> structure as an XML schema to a file.</summary>
1786/// <summary>Writes the <see cref='DataSet'/> structure as an XML schema to a <see cref='TextWriter'/> object.</summary>
1793/// <summary>Writes the <see cref='DataSet'/> structure as an XML schema to a <see cref='TextWriter'/> object.</summary>
1802/// <summary>Writes the <see cref='DataSet'/> structure as an XML schema to an <see cref='XmlWriter'/> object.</summary>
1809/// <summary>Writes the <see cref='DataSet'/> structure as an XML schema to an <see cref='XmlWriter'/> object.</summary>
2216DataSet newDs;
2708/// Merges this <see cref='System.Data.DataSet'/> into a specified <see cref='System.Data.DataSet'/>.
2711public void Merge(DataSet dataSet)
2725/// Merges this <see cref='System.Data.DataSet'/> into a specified <see cref='System.Data.DataSet'/> preserving changes according to
2729public void Merge(DataSet dataSet, bool preserveChanges)
2743/// Merges this <see cref='System.Data.DataSet'/> into a specified <see cref='System.Data.DataSet'/> preserving changes according to
2748public void Merge(DataSet dataSet, bool preserveChanges, MissingSchemaAction missingSchemaAction) {
3349if (GetType() == typeof(DataSet)) {
3514mainNamespace.Imports.Add(new CodeNamespaceImport(typeof(DataSet).Namespace));
3570string typeName = isDataSet ? typeof(DataSet).FullName : typeof(DataTable).FullName;
3572mainNamespace.Imports.Add(new CodeNamespaceImport(typeof(DataSet).Namespace));
3601string typeName = typeof(DataSet).FullName;
3603mainNamespace.Imports.Add(new CodeNamespaceImport(typeof(DataSet).Namespace));
3661DataSet ds = new DataSet();
fx\src\data\System\Data\OleDb\OleDbDataAdapter.cs (5)
189public int Fill(DataSet dataSet, object ADODBRecordSet, string srcTable) {
220Debug.Assert(!(adodb is DataSet), "call Fill( (DataSet) value)");
271if (data is DataSet) {
376return base.Fill((DataSet) data, srcTable, dataReader, 0, 0);
419return base.Fill((DataSet) data, srcTable, dataReader, 0, 0);
fx\src\data\System\Data\xmlsaver.cs (17)
39DataSet _ds;
109if (!((instance is DataSet) || (instance is DataTable) || (instance is DataColumn) || (instance is DataRelation))) {
293private void GenerateConstraintNames(DataSet ds) {
304private bool HaveExtendedProperties(DataSet ds) {
363internal void SetupAutoGenerated(DataSet ds){
467internal void SchemaTree(XmlDocument xd, XmlWriter xmlWriter, DataSet ds, DataTable dt, bool writeHierarchy) {
865internal XmlElement FillDataSetElement(XmlDocument xd, DataSet ds, DataTable dt) {
866DataSet dataSet = (ds != null) ? ds : dt.DataSet;
934internal void Save(DataSet ds, XmlWriter xw) {
948internal void Save(DataSet ds, DataTable dt, XmlWriter xw) {
952internal void Save(DataSet ds, DataTable dt, XmlWriter xw, bool writeHierarchy) {
956internal void Save(DataSet ds, DataTable dt, XmlWriter xw, bool writeHierarchy, Converter<Type, string> multipleTargetConverter)
1962internal DataSet _ds;
1972internal NewDiffgramGen(DataSet ds) {
2314DataSet _ds = null;
2327internal XmlDataTreeWriter(DataSet ds) {
2335internal XmlDataTreeWriter(DataSet ds, DataTable dt) { // need to modify this also