Click or drag to resize

Schema Class

Get information about database schema
Inheritance Hierarchy
SystemObject
  GSF.DataSchema

Namespace: GSF.Data
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
Syntax
[SerializableAttribute]
public class Schema
View Source

The Schema type exposes the following members.

Constructors
 NameDescription
Public methodSchema Creates a new Schema.
Public methodSchema(String, TableType, Boolean, Boolean) Creates a new Schema.
Top
Properties
 NameDescription
Public propertyAllowNumericNulls Set this value to False to convert all Null values encountered in numeric fields to zeros.
Public propertyAllowTextNulls Set this value to False to convert all Null values encountered in character fields to empty strings.
Public propertyConnectionIDbConnection to open a database connection
Public propertyConnectionString OLEDB connection string to data source to analyze.
Public propertyDataSourceType Type of database specified in connect string.
Public propertyImmediateClose Set this value to False to keep the schema connection used during analysis open after analysis is complete.
Public propertyTables Get or set - information to process Tables
Public propertyTableTypeRestriction Set this value to restrict the types of tables returned in your schema. Table types can be OR'd together to create this table type restriction.
Top
Methods
 NameDescription
Public methodAnalyze Analyze data schema for processing data
Public methodClose Close IDbConnection
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodStatic memberOpenConnection(String) Opens an ADO connection.
Public methodStatic memberOpenConnection(String, DatabaseType, Schema, Boolean) Opens an ADO connection.
Public methodSQLEscapeName Escapes a field or table name.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Fields
 NameDescription
Public fieldStatic memberNoRestriction Defines a table filter that specifies no restrictions.
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also