Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ FillSchema() [1/7]

override DataTable[] System.Data.Common.DbDataAdapter.FillSchema ( DataSet dataSet,
SchemaType schemaType )
inlinevirtual

Reimplemented from System.Data.Common.DataAdapter.

Definition at line 287 of file DbDataAdapter.cs.

288 {
289 long scopeId = DataCommonEventSource.Log.EnterScope("<comm.DbDataAdapter.FillSchema|API> {0}, dataSet, schemaType={1}", base.ObjectID, schemaType);
290 try
291 {
293 if (base.DesignMode && (selectCommand == null || selectCommand.Connection == null || string.IsNullOrEmpty(selectCommand.CommandText)))
294 {
295 return Array.Empty<DataTable>();
296 }
298 return FillSchema(dataSet, schemaType, selectCommand, "Table", fillCommandBehavior);
299 }
300 finally
301 {
302 DataCommonEventSource.Log.ExitScope(scopeId);
303 }
304 }
DataTable? FillSchema(DataTable dataTable, SchemaType schemaType)

References System.Data.Common.DbDataAdapter._IDbDataAdapter, System.Data.Common.DbDataAdapter.FillCommandBehavior, System.Data.Common.DbDataAdapter.FillSchema(), System.Data.DataCommonEventSource.Log, and System.Data.IDbDataAdapter.SelectCommand.