ExpansionBase Methods

<< >>

Navigation:  CodeStencil > Custom Library > Class Library > Expansion Namespace > ExpansionBase Class >

ExpansionBase Methods

The ExpansionBase type exposes the following members.

Methods


Name

Description

Public method Static member

AddQuotes

Adds the quotes.

Public method

AlignIndent

Re aligns the passed text to use the passed indent.

Public method

AppendText()

Clear the current string - ExpandedText

Public method

AppendText(String, String)

Add text to the ExpandText StringBuilder object.

Public method

AppendText(List<String>, String)

Add text to the ExpandText StringBuilder object. This overload uses a passed list

Public method

AppendText(String, Int32)

Add text to the ExpandText StringBuilder object. This overload will reformat the passed in text by: (a) Starting it on a new line; (b) Indenting every line with the passed indent

Public method

AppendText(String, Int32, String)

Add text to the ExpandText StringBuilder object. This overload will reformat the passed in text by: (a) Starting it on a new line; (b) Indenting every line with the passed indent (c) Add a carriage return so that any subsequently added text will begin on a new line

Public method

AppendText(String, String, String)

Add text to the ExpandText StringBuilder object. This overload will reformat the passed in text by: (a) Starting it on a new line; (b) Indenting every line with the passed indent (c) Add a carriage return so that any subsequently added text will begin on a new line

Public method

AspFor

Returns part of the tag in the format - "label aso-for="Title"

Public method

BuildSnippet(String, Int32, Boolean)

Builds the snippet by adding passed text to the private StringBuilder object - _snippet.

Public method

BuildSnippet(StringBuilder, String, Int32, Boolean)

Builds the snippet by adding passed text to your passed StringBuilder object

Public method

BuildSnippet(Boolean)

By Default, truncates all text currently saved in the StringBuilder object - _snippet.

Public method

BuildSnippet(List<String>, Int32)

Builds the snippet with the items in the passed list..

Public method

CloneSchemaItems

Clones the passed SchemaTtem.

Public method

CreateRelatedTablePropertyName

Creates the name of the related table property.

When the table row object cannot be passed, passing the table and column name enables CreateTablePropertyName() to be called.

Public method

CreateTablePropertyName

Creates the name of the table property.

Public method

CshtmlHeader

Gets a CSHTML header.

Public method

DisplayForModel

Displays for model.

Public method

DisplayForModelItem(ISchemaItem)

Displays for model item.

Public method

DisplayForModelItem(String, Int32, String, String)

Displays for model item.

Public method

DisplayNameFor(String, Int32, String, String)

Displays the name for.

Public method

DisplayNameFor(String, String, Int32, String, String)

Displays the name for.

Public method

DlTagDetails(String, List<ISchemaItem>)

Dls the tag details.

Public method

DlTagDetails(String, List<String>)

Dls the tag details.

Public method

EndBrace

Ends the brace.

Public method

Equals(System.Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object.)

Public method

ExpanderUpdater(String, String)

Expanders' updater.

Public method

ExpanderUpdater(Boolean, String)

Expanders' updater.

Public method

ExpanderUpdater(String, String, Int32, Boolean, String)

Expanders' updater.

Public method

ExpansionStringExists

Checks to see if an Expansion string exists.

Protected method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.

(Inherited from Object.)

Public method

FormatHtml

Formats an string containing HTML. tags

Public method

FormControl

Forms the control.

Public method

FormGroup(String, String, Int32)

Forms the group.

Public method

FormGroup(ISchemaItem, Int32)

Forms the group.

Public method

FormGroupDisplay

Forms the group display.

Public method

GetActions

Gets a Struct containing settings for actions.

Public method

GetColumnAttribute

Gets the column attribute (Data Annotation) of passed column.

Public method

GetColumns(List<ISchemaItem>, String, Boolean, String, Boolean)

Gets a List of columns for passed table.

Public method

GetColumns(String, Boolean, String)

Returns columns in the passed table as a List Collection

Public method

GetColumnsAndNavigation

Returns columns (including navigation columns) in the passed table as a List Collection

Public method

GetColumnsAsDictionary

Return a list of columns as dictionary.

Public method

GetColumnsExCalculated

Gets the columns excluding calculated columns.

Public method

GetColumnsFromSchemaItems

Gets the columns from schema items.

Public method

GetColumnsFromSettings

Gets a list of columns from settings.

Public method

GetCompanyName

Gets the name of the company.

Public method

GetDbContext

Gets the database context.

Public method

GetDefaultNameSpace

Gets the default name space.

Public method

GetDisplayExpressionColumn

Gets the display expression column.

Public method

GetExpanderObject

Gets the expander object.

Public method

GetExpansionString

Gets the expansion string.

Public method

GetForeignKeyColumn

Gets the foreign key column.

Public method

GetForeignKeysInOneToOne

Gets the foreign keys in one to one relationship.

Public method

GetForeignKeysInTable(List<ISchemaItem>, String, Boolean)

Return the foreign keys in table as a List. You can pass your own specific list of SChema Items

Public method

GetForeignKeysInTable(String, Boolean)

Returns the foreign keys in table as a List.

Public method

GetHashCode

Serves as the default hash function.

(Inherited from Object.)

Public method

GetHeading

Gets the heading.

Public method

GetHtmlColumns

Returns a list of HTML columns.

Public method

GetHtmlString(String, String, String)

Gets the HTML string.

Public method

GetHtmlString(String, String)

Gets the HTML string.

Public method

GetHtmlString(String, String, String, String)

Gets the HTML string.

Public method

GetHtmlString(String, String, String, String, String, String)

Gets the HTML string.

Public method

GetHtmlString(String, String, String, String, String, String, String, String)

Gets the HTML string.

Public method

GetLookupColumn

Gets the lookup column.

Public method

GetLookupDisplayColumn

Gets the lookup display column.

Public method

GetLookupDisplayColumnWithPath

Gets the lookup display column with table name, e.g. myTable.myLookupColumn

Public method

GetLookupTable

Gets the lookup table.

Public method

GetLookupTableLabel

Gets the lookup table label.

Public method

GetLookupTableLabelWithPath

Gets the lookup table label with path.

Public method

GetNavProperties(List<ISchemaItem>, String)

Gets navigation properties.

Public method

GetNavProperties(String)

Gets navigation properties.

Public method

GetNullSign

Gets the null sign.

Public method

GetOne2ManyTable

Gets the 12M table.

Public method

GetOrganizationLabel

Gets the organization label.

Public method

GetOrganizationName

Gets the name of the organization.

Public method

GetOriginalTableName

Gets the original name of the table .

Public method

GetOutputFolder

Gets the output folder.

Public method

GetPrimaryKey

Get the primary key of a table

Public method

GetPrimaryKeyRow

Gets the primary key row.

Public method

GetPrimaryKeyType

Gets the type of the primary key.

Public method

GetProjectName

Gets the name of the project.

Public method

GetProjectNameLower

Gets the project name lower.

Public method

GetRelatedColumnName

Gets the name of the related column.

Public method

GetRelatedTables(List<ISchemaItem>, String)

Gets the related tables to the passed table as a List.

Public method

GetRelatedTables(String)

Gets the related tables.

Public method

GetSchemaItemColumn

Gets the corresponding SchemaItem column based on the passed column name.

Public method

GetSearchColumns

Returns a list of the search columns.

Public method

GetSelfJoinColumns(List<ISchemaItem>, String)

Gets the self join columns.

Public method

GetSelfJoinColumns(String)

Gets the self join columns .

Public method

GetSelfRelatedColumnName

Gets the name of the self related column.

Public method

GetSelfRelatedObject

Gets the self related object.

Public method

GetSettingsValue(String, String)

Return a string containing the value for a setting

Gets the settings value.

Public method

GetSettingsValue(String, String[])

Return a string containing the value for a setting

Gets the settings value.

Public method

GetSettingsValue(String, String, List<String>)

Return a string containing the value for a setting

Gets the settings value.

Public method

GetSortColumns

Returns a list of the sort columns.

Public method

GetStringColumn

Gets the first string column in a lookup table.

Public method

GetTable

Returns the label of a table

Public method

GetTableAndColumnsString

Gets table and columns string.

Gets the table and columns string.

Public method

GetTableAndPrimaryKey

Gets the table and primary key. (table.primaryKey)

Public method

GetTableLabel

Gets the table label.

Public method

GetTableObject

Returns a table object ( row from SchemaItems) to give access to the columns in that table header

Public method

GetTables(Boolean)

Return the tables in database as a List Collection

Public method

GetTables(List<ISchemaItem>, Boolean)

Gets a list of tables.

Public method

GetTablesAndColumnsFromSettings

Gets tables and columns from settings.

Public method

GetType

Gets the Type of the current instance.

(Inherited from Object.)

Public method

HasCalculatedColumn

Determines whether a table has calculated column(s)

Public method

Indent(Int32)

Create an indent of x spaces

Public method

Indent(String, Int32)

Indents the specified text.

Public method

Initializer

Initializes SchemaItems, Expanders passed from CodeStencil to local fields.

Public method

InputType

Inputs the type.

Public method

IsInListOfTables

Determines whether the passed table is in the list of tables

Public method

IsPrimaryInRelated

Determines whether primary key is in related tables

Public method

IsTableEnabled

Determines whether a table is enabled

Public method

IsTableInDatabase

Confirm the passed table is in database

Protected method

MemberwiseClone

Creates a shallow copy of the current Object.

(Inherited from Object.)

Public method

NavigationLabel

Navigations the label.

Public method

Pluralize

Pluralizes the specified text.

Public method

PreserveTableName

Preserves the name of the table.

Public method

RetrieveSavedSettings

Retrieves the saved settings.

Retrieves the saved settings.

Public method

Save

Saves the specified indent.

Public method

SchemaItemUpdater

SchemaItem updater.

Public method Static member

Singularize

Singularizes the specified text.

Public method

StartBrace

Starts the brace.

Public method

Submit

Submits the specified indent.

Public method

TextDanger

Texts the danger.

Public method

ToString

Returns a string that represents the current object.

(Inherited from Object.)

Public method

UpdateExpander

Updates the expander.

Public method

UpdateSchemaItem

Updates the schema item.

See Also


ExpansionBase Class

ZeraSystems.CodeNanite.Expansion Namespace