The methods of the DataClass class are listed below. For a complete list of DataClass class members, see the DataClass Members topic.

Public Instance Methods

DeleteFunction Generates the delete function
Equals (inherited from Object)Select the method name to go to the Microsoft documentation.
GenerateClassBottom (inherited from GeneralDataClass) Generates the bottom of class
GenerateClassTop Generates the top of the class including Class topusingnamespace definition
GenerateModifierClassTop (inherited from GeneralDataClass) Generates the modifier class top. Modifier includes ModifierInsertUpdateDelete
GenerateNamespaceBottom (inherited from GeneralDataClass) Generates the bottom of the namespace.
GenerateReaderClassTop (inherited from GeneralDataClass) Generates the reader class top. Reader includes ReaderSelAllSelUni
GetHashCode (inherited from Object)Select the method name to go to the Microsoft documentation.
GetType (inherited from Object)Select the method name to go to the Microsoft documentation.
InsertFunction Generates the insert functiom
SelAllFunction Generates the delete function
SelUniFunction Generates the SelUni function
ToString (inherited from Object)Select the method name to go to the Microsoft documentation.
UpdateFunction Generates the update function

Protected Instance Methods

buildSqlDbType Converts datatype to correct definition.
Finalize (inherited from Object)Select the method name to go to the Microsoft documentation.
GenerateHeader (inherited from GeneralDataClass) Generates the header of the datafunction. HeaderSummaryauthorcreated Should be used with conjunction of addParameterToHeader
GetColumnName Get the name of columns and their datattypes. [datatype,columnname]
GetIdentityColumn
GetPrimaryKeysColumn Get the name of primary keys and their datattypes. [datatype,columnname]
GetTableInformation (inherited from General) Fills three tables with info about the columns, primary keys, columns datatypes for a specified table. Tables, index0 - colums, using sp_Columns1 - datatypes, using sp_datatype_info2 - Primary key(s), using sp_keys
MemberwiseClone (inherited from Object)Select the method name to go to the Microsoft documentation.
RemoveIdentityString (inherited from General) Removes the suffix 'identity' from the parameter.
RemoveTablePrefix (inherited from General) Removes table prefix 't'.
UpdateTableInformation (inherited from General) Check if system should load information about a new table.

See Also

DataClass Class | Magnusson.Data.SqlAutomation Namespace