Public Instance Constructors

GeneralDataClass Constructor

Public Instance Properties

Author (inherited from General) The author, is used when generating the header.
ClassName The name of the class.
ClassNamespace The namespace.
Comment (inherited from General) Comment is used when generating the header.
Company (inherited from General) Company.
ConnectionString (inherited from General) Connectionstring
CurrentOperation (inherited from General) Current operation such as: Insert, Update, Delete, SelAll, SelUni
DoGenerateHeader Should the function include a header
DoReturnIdentityValue (inherited from General)
EntityObject (inherited from General) The name of the table.
FunctionName The name of the function. Removes any prefix on the table and adds the prefix of the current operation.
NUnitClassName The name of the NUnit class. Removes any prefix on the table and adds the suffix 'Test'.
ParamExpression Set the name of the storedprocedure or the sql script.
StoredProcedureName (inherited from General) The name of the stored procedure. Removes any prefix on the table and adds the prefix 'p'.

Public Instance Methods

Equals (inherited from Object)Select the method name to go to the Microsoft documentation.
GenerateClassBottom Generates the bottom of class
GenerateModifierClassTop Generates the modifier class top. Modifier includes ModifierInsertUpdateDelete
GenerateNamespaceBottom Generates the bottom of the namespace.
GenerateReaderClassTop 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.
ToString (inherited from Object)Select the method name to go to the Microsoft documentation.

Protected Instance Properties

connection (inherited from General) SqlConnection
TableInformation (inherited from General) Contains the information about the column names, primary keys and datatypes.

Protected Instance Methods

Finalize (inherited from Object)Select the method name to go to the Microsoft documentation.
GenerateHeader Generates the header of the datafunction. HeaderSummaryauthorcreated Should be used with conjunction of addParameterToHeader
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

GeneralDataClass Class | Magnusson.Data.SqlAutomation Namespace