SubSonic.Core Removes column declarations in SelectExpression's that are not referenced An extended expression visitor including custom DbExpression nodes returns the list of SelectExpressions accessible from the source expression Determines if a SelectExpression contains any aggregate expressions A simple query mapping that attempts to infer mapping from naming conventionss Defines mapping information and rules for the query provider Determines if a give CLR type is mapped as a database entity Deterimines is a property is mapped onto a column or relationship Determines if a property is mapped onto a column Determines if a property represents or is part of the entities unique identity (often primary key) Determines if a property is mapped as a relationship The type of the entity on the other side of the relationship The name of the corresponding database table The name of the corresponding table column A sequence of all the mapped members Determines if a relationship property refers to a single optional entity (as opposed to a collection.) Get a query expression that selects all entities from a table Gets an expression that constructs an entity instance relative to a root. The root is most often a TableExpression, but may be any other experssion such as a ConstantExpression. Get the members for the key properities to be joined in an association relationship Get an expression for a mapped property relative to a root expression. The root is either a TableExpression or an expression defining an entity instance. Get a function that coerces an a sequence of one type into another type. This is primarily used for aggregators stored in ProjectionExpression's, which are used to represent the final transformation of the entire result set of a query. The expected type. The actual type. Apply mapping translations to this expression The language related to the mapping Builds an execution plan for a query expression columns referencing the outer alias are turned into special named-value parameters Returns an Object with the specified Type and whose value is equivalent to the specified object. An Object that implements the IConvertible interface. An object whose Type is conversionType (or conversionType's underlying type if conversionType is Nullable<>) and whose value is equivalent to value. -or- a null reference, if value is a null reference and conversionType is not a value type. This method exists as a workaround to System.Convert.ChangeType(Object, Type) which does not handle nullables as of version 2.0 (2.0.50727.42) of the .NET Framework. The idea is that this method will be deleted once Convert.ChangeType is updated in a future version of the .NET Framework to handle nullable types, so we want this to behave as closely to Convert.ChangeType as possible. This method was written by Peter Johnson at: http://aspalliance.com/author.aspx?uId=1026. Equals to. The value. Determines whether the specified is equal to the current . The to compare with the current . true if the specified is equal to the current ; otherwise, false. The parameter is null. Serves as a hash function for a particular type. A hash code for the current . Returns a that represents the current . A that represents the current . Initializes a new instance of the class. Initializes a new instance of the class. The table. Sets the specified column name. Name of the column. Sets the expression. The column. Executes this instance. Initializes a new instance of the class. The provider. Sets the specified columns. The columns. Summary for the RegexPattern class Initializes a new instance of the class. From. To. Type of the join. Gets the join type value. The j. Gets or sets the type. The type. Gets or sets from column. From column. Gets or sets to column. To column. Initializes a new instance of the class. Initializes a new instance of the class. The provider. Builds the SQL statement. Adds the specified columns into a new Insert object. The columns. Adds the specified columns into a new Insert object. The TBL. Inits this instance. Values the specified column. The column. The column value. Values the specified column. The column. The column value. Type of the db. Valueses the specified values. The values. Values the expression. The values. Returns a that represents the current . A that represents the current . Executes this instance. Removes duplicate column declarations that refer to the same underlying column Converts LINQ query operators to into custom DbExpression's Initializes the class. Strips the last specified chars from a string. The source string. The remove from end. Strips the last specified chars from a string. The source string. The back down to. Plurals to singular. The source string. Singulars to plural. The source string. Make plural when count is not one The number of things The source string. Removes the specified chars from the beginning of a string. The source string. The remove from beginning. Removes chars from the beginning of a string, up to the specified string The source string. The remove up to. Strips the last char from a a string. The source string. Strips the last char from a a string. The source string. Fasts the replace. The original. The pattern. The replacement. Fasts the replace. The original. The pattern. The replacement. Type of the comparison. Returns text that is located between the startText and endText tags. The source string. The text from which to start the crop The endpoint of the crop Removes excess white space in a string. The source string. Removes all non-alpha numeric characters in a string The source string. Creates a string array based on the words in a sentence The source string. Strips all HTML tags from a string The HTML string. Strips all HTML tags from a string and replaces the tags with the specified replacement The HTML string. The HTML place holder. Converts a generic List collection to a single comma-delimitted string. The list. Converts a generic List collection to a single string using the specified delimitter. The list. The delimiter. Strips the specified input. The source string. The strip value. Converts ASCII encoding to Unicode The ASCII code. Converts Text to HTML-encoded string The text string. Converts HTML-encoded bits to Text The entity text. Formats the args using String.Format with the target string as a format string. The format string passed to String.Format The args passed to String.Format Strings to enum. The value. Fills the entities. Converts US State Name to it's two-character abbreviation. Returns null if the state name was not found. US State Name (ie Texas) Converts a two-character US State Abbreviation to it's official Name Returns null if the abbreviation was not found. US State Name (ie Texas) Fills the US States. Generates the command line. Generates the constraints. Generates from list. Generates the order by. Generates the group by. Generates the joins. Gets the paging SQL wrapper. Gets the select columns. Finds the column. Name of the column. Builds the select statement. Builds the paged select statement. Builds the update statement. Builds the insert statement. Builds the delete statement. Sets the insert query. The q. SqlFragment. Field values may change depending on the inheriting Generator. Initializes a new instance of the class. The q. Sets the insert query. The q. Finds the column. Name of the column. Generates the group by. Generates the command line. Generates the joins. Generates from list. Generates the constraints. Generates the order by. Gets the select columns. Gets the paging SQL wrapper. Builds the paged select statement. Builds the select statement. Builds the update statement. Builds the insert statement. Builds the delete statement. Qualifies the name of the table. The TBL. Gets the qualified select. The table. Generates the select column list. Builds the aggregate commands. Generates the 'SELECT' part of an The aggregate to include in the SELECT clause The portion of the SELECT clause represented by this The ToString() logic moved from , rather than including it in the Aggregate class itself... Initializes a new instance of the class. The query. Builds the paged select statement. Builds the insert statement. A schema generator for your DB Builds a CREATE TABLE statement. Builds a DROP TABLE statement. Name of the table. Adds the column. Name of the table. The column. Alters the column. The column. Removes the column. Name of the table. Name of the column. Gets the type of the native. Type of the db. Generates the columns. Table containing the columns. SQL fragment representing the supplied columns. Sets the column attributes. The column. Builds a CREATE TABLE statement. Builds a DROP TABLE statement. Name of the table. Adds the column. Name of the table. The column. Alters the column. The column. Removes the column. Name of the table. Name of the column. Gets the type of the native. Type of the db. Generates the columns. Table containing the columns. SQL fragment representing the supplied columns. Sets the column attributes. The column. Gets an ITable from the DB based on name Creates a list of table names Removes one or more SelectExpression's by rewriting the expression tree to not include them, promoting their from clause expressions and rewriting any column expressions that may have referenced them to now reference the underlying data directly. Attempts to rewrite cross-apply and outer-apply joins as inner and left-outer joins rewrites nested projections into client-side joins Formats a query expression into TSQL language syntax Formats a query expression into TSQL language syntax Extended node types for custom expressions A custom expression node that represents a table reference in a SQL query A custom expression node that represents a reference to a column in a SQL query A declaration of a column in a SQL SELECT expression An SQL OrderBy order type A pairing of an expression and an order type for use in a SQL Order By clause A custom expression node used to represent a SQL SELECT expression A kind of SQL join A custom expression node representing a SQL join clause Allows is-null tests against value-types like int and float A custom expression representing the construction of one or more result objects from a SQL select expression Holds list of tables, views, stored procedures, etc. Initializes the shared connection. Initializes the shared connection. The shared connection string. Resets the shared connection. Adds the params. The CMD. The qry. Gets a value indicating whether [current connection string is default]. true if [current connection string is default]; otherwise, false. Gets or sets the current shared connection. The current shared connection. For Jeff Atwood http://www.codinghorror.com/blog/archives/000989.html A class which wraps an inline SQL call Initializes a new instance of the class. Warning: This method assumes the default provider is intended. Call InlineQuery(string providerName) if this is not the case. The SQL. Initializes a new instance of the class. The SQL. The values. Initializes a new instance of the class. The provider. Gets the command. Executes the specified SQL. Executes the scalar. The type of the result. Executes the typed list. Executes the reader. TSQL specific QueryLanguage Defines the language rules for the query provider Determines whether the CLR type corresponds to a scalar data type in the query language Determines whether the given expression can be represented as a column in a select expressionss Provides language specific query translation. Use this to apply language specific rewrites or to make assertions/validations about the query. Converts the query expression into text of this query language Determine which sub-expressions must be parameters Rewrites nested singleton projection into server-side joins Gets a value indicating whether this instance is numeric. true if this instance is numeric; otherwise, false. Gets a value indicating whether this instance is date time. true if this instance is date time; otherwise, false. Gets a value indicating whether this instance is string. true if this instance is string; otherwise, false. Gets a value indicating whether this instance is numeric. true if this instance is numeric; otherwise, false. Gets a value indicating whether this instance is date time. true if this instance is date time; otherwise, false. Gets a value indicating whether this instance is string. true if this instance is string; otherwise, false. Summary for the ReservedColumnName class Returns Schema instance with empty lists. Where, And, Or WHERE operator AND operator OR Operator SQL Comparison Operators Summary for the SqlComparison class A Class for handling SQL Constraint generation The query that this constraint is operating on Initializes a new instance of the class. The condition. Name of the constraint column. Initializes a new instance of the class. The condition. Name of the constraint column. Name of the constraint qualified column. Initializes a new instance of the class. The condition. Name of the constraint column. Name of the constraint qualified column. The constraint construction fragment. Initializes a new instance of the class. The condition. Name of the constraint column. The SQL query. Initializes a new instance of the class. The condition. Name of the constraint column. Name of the constraint qualified column. The constraint construction fragment. The SQL query. Wheres the specified column name. Name of the column. Ands the specified column name. Name of the column. Ors the specified column name. Name of the column. Gets or sets the name of the table. The name of the table. Gets the comparison operator. The comp. Determines whether the specified is equal to the current . The to compare with the current . true if the specified is equal to the current ; otherwise, false. The parameter is null. Serves as a hash function for a particular type. A hash code for the current . Creates a LIKE statement. The val. Creates a LIKE statement and appends a wildcard to the end of the passed-in value. The val. Creates a LIKE statement and appends a wildcard to the end of the passed-in value. The val. The wild card. Creates a LIKE statement and appends a wildcard to the end of the passed-in value. The val. Creates a NOT LIKE statement The val. Determines whether [is greater than] [the specified val]. The val. Determines whether [is greater than] [the specified val]. The val. Specifies a SQL IN statement using a nested Select statement The select query. Specifies a SQL IN statement Value array Specifies a SQL IN statement Value array Specifies a SQL IN statement using a nested Select statement The select query. Specifies a SQL Not IN statement Value array Specifies a SQL NOT IN statement Value array Determines whether [is less than] [the specified val]. The val. Determines whether [is less than] [the specified val]. The val. Determines whether [is not null] [the specified val]. Determines whether the specified val is null. Determines whether [is between and] [the specified val1]. The val1. The val2. Determines whether [is equal to] [the specified val]. The val. Determines whether [is not equal to] [the specified val]. The val. Gets or sets the condition. The condition. Gets or sets the name of the column. The name of the column. Gets or sets the fully qualified name of the column. The name of the column. Gets or sets the string fragment used when assembling the text of query. The construction fragment. Gets or sets the comparison. The comparison. Gets or sets the parameter value. The parameter value. Gets or sets the start value. The start value. Gets or sets the end value. The end value. Gets or sets the in values. The in values. Gets or sets the in select. The in select. Gets or sets the name of the parameter. The name of the parameter. Gets or sets the type of the db. The type of the db. Gets or sets a value indicating whether this constraint is an Aggregate. true if this instance is aggregate; otherwise, false. Removes joins expressions that are identical to joins that already exist Moves order-bys to the outermost select if possible Add a sequence of order expressions to an accumulated list, prepending so as to give precedence to the new expressions over any previous expressions Rebind order expressions to reference a new alias and add to column declarations if necessary Writes out an expression tree (including DbExpression nodes) in a C#-ish syntax Writes out an expression tree in a C#-ish syntax Summary for the Numbers class Determines whether a number is a natural number (positive, non-decimal) The s item. true if [is natural number] [the specified s item]; otherwise, false. Determines whether [is whole number] [the specified s item]. The s item. true if [is whole number] [the specified s item]; otherwise, false. Determines whether the specified s item is integer. The s item. true if the specified s item is integer; otherwise, false. Determines whether the specified s item is number. The s item. true if the specified s item is number; otherwise, false. Determines whether the specified value is an even number. The value. true if the specified value is even; otherwise, false. Determines whether the specified value is an odd number. The value. true if the specified value is odd; otherwise, false. Generates a random number with an upper bound The high. Generates a random number between the specified bounds The low. The high. Generates a random double This set of classes abstracts out commands and their parameters so that the DataProviders can work their magic regardless of the client type. The System.Data.Common class was supposed to do this, but sort of fell flat when it came to MySQL and other DB Providers that don't implement the Data Factory pattern. Abstracts out the assignment of parameters, etc Gets or sets the size. The size. Gets or sets the mode. The mode. Gets or sets the name of the parameter. The name of the parameter. Gets or sets the parameter value. The parameter value. Gets or sets the type of the data. The type of the data. Summary for the QueryParameterCollection class Checks to see if specified parameter exists in the current collection returns the specified QueryParameter, if it exists in this collection Adds the specified parameter name. Name of the parameter. The value. Adds the specified parameter name. Name of the parameter. The value. Type of the data. Adds the specified parameter name. Name of the parameter. The value. Type of the data. The mode. Summary for the QueryCommandCollection class Summary for the QueryCommand class Initializes a new instance of the class. The SQL. The provider. Determines whether [has output params]. true if [has output params]; otherwise, false. Adds the parameter. The public AddParameter methods should call this one. Name of the parameter. The parameter value. Size of the max. Type of the db. The direction. Adds the parameter. Name of the parameter. The parameter value. Type of the data. The parameter direction. Adds the parameter. Name of the parameter. The parameter value. Type of the data. Adds the parameter. Name of the parameter. The parameter value. Adds the output parameter. Name of the parameter. Size of the max. Type of the db. Adds the output parameter. Name of the parameter. Size of the max. Adds the output parameter. Name of the parameter. Adds the output parameter. Name of the parameter. Type of the db. Adds a return parameter (RETURN_VALUE) to the command. Suggested by feroalien@hotmail.com Issue 11 fix Gets or sets the command timeout (in seconds). The command timeout. Gets or sets the type of the command. The type of the command. Gets or sets the command SQL. The command SQL. Gets or sets the parameters. The parameters. Common interface for controlling defer-loadable types A list implementation that is loaded the first the contents are examined Rewrites take and skip expressions into uses of TSQL row_number function Adds relationship to query results depending on policy Converts user arguments into named-value parameters Result from calling ColumnProjector.ProjectColumns Splits an expression into two parts 1) a list of column declarations for sub-expressions that must be evaluated on the server 2) a expression that describes how to combine/project the columns back together into the correct result Nominator is a class that walks an expression tree bottom up, determining the set of candidate expressions that are possible columns of a select expression Summary for the Files class Read a text file and obtain it's contents. The complete file path to write to. String containing the content of the file. Creates or opens a file for writing and writes text to it. The complete file path to write to. A String containing text to be written to the file. Update text within a file by replacing a substring within the file. The complete file path to write to. A String to be replaced. A String to replace all occurrences of lookFor. Writes out a string to a file. The complete file path to write to. A String containing text to be written to the file. Fetches a web page The URL. A holder for 1 or more queries to be executed together Builds the SQL statement. Executes this instance. Executes the queries in and returns a multiple result set reader. Gets a command containing all the queued queries. Queues the specified query. The query. Queues the specified query. The query. Queues a query for use in a transaction. The qry. Queues a query for use in a transaction. The CMD. Queues a query for use in a transaction. The SQL. The parameters. Executes the transaction. Enum for General SQL Functions Counts the specified col. The col. Counts the specified col. The col. The alias. Counts the specified column name. Name of the column. Counts the specified column name. Name of the column. The alias. Sums the specified col. The col. Sums the specified column name. Name of the column. Sums the specified col. The col. The alias. Sums the specified column name. Name of the column. The alias. Groups the by. The col. Groups the by. Name of the column. Groups the by. The col. The alias. Groups the by. Name of the column. The alias. Avgs the specified col. The col. Avgs the specified column name. Name of the column. Avgs the specified col. The col. The alias. Avgs the specified column name. Name of the column. The alias. Maxes the specified col. The col. Maxes the specified column name. Name of the column. Maxes the specified col. The col. The alias. Maxes the specified column name. Name of the column. The alias. Mins the specified col. The col. Mins the specified column name. Name of the column. Mins the specified col. The col. The alias. Mins the specified column name. Name of the column. The alias. Variances the specified col. The col. Variances the specified column name. Name of the column. Variances the specified col. The col. The alias. Variances the specified column name. Name of the column. The alias. Standards the deviation. The col. Standards the deviation. Name of the column. Standards the deviation. The col. The alias. Standards the deviation. Name of the column. The alias. Initializes a new instance of the class. Name of the column. Type of the aggregate. Initializes a new instance of the class. Name of the column. The alias. Type of the aggregate. Initializes a new instance of the class. The column. Type of the aggregate. Initializes a new instance of the class. The column. The alias. Type of the aggregate. Gets the type of the function. The agg. Gets the SQL function call without an alias. Example: AVG(UnitPrice). Overrides ToString() to return the SQL Function call Gets or sets the type of the aggregate. The type of the aggregate. Gets or sets the name of the column. The name of the column. Gets or sets the alias. The alias. returns the set of all aliases produced by a query source Translates accesses to relationship members into projections or joins Defines query execution and materialization policies. Determines if a relationship property is to be included in the results of the query Determines if a relationship property is included, but the query for the related data is deferred until the property is first accessed. Provides policy specific query translations. This is where choices about inclusion of related objects and how heirarchies are materialized affect the definition of the queries. Converts a query into an execution plan. The plan is an function that executes the query and builds the resulting objects. The mapping related to the policy. Determines if two expressions are equivalent. Supports DbExpression nodes. Compare two expressions to determine if they are equivalent Returns the SqlDbType for a give DbType Takes the properties of an object and turns them into SubSonic.Query.Constraint Coerces an IDataReader to try and load an object using name/property matching Loads a single primitive value type Toes the type of the enumerable value. The IDataReader to read from. Determines whether [is core system type] [the specified type]. The type. true if [is core system type] [the specified type]; otherwise, false. Coerces an IDataReader to load an enumerable of T Creates a typed list from an IDataReader Builds a SubSonic UPDATE query from the passed-in object Builds a SubSonic INSERT query from the passed-in object Builds a SubSonic DELETE query from the passed-in object Gets the type of the native. Type of the db. Generates the columns. Table containing the columns. SQL fragment representing the supplied columns. Builds a CREATE TABLE statement. Sets the column attributes. The column. Gets the type of the db. Type of my SQL. Simple implementation of the IGrouping<TKey, TElement> interface Rewrite aggregate expressions, moving them into same select expression that has the group-by clause Replaces references to one specific instance of an expression node with another node. Supports DbExpression nodes Parses the object value. The expression. Parses the passed-in Expression into exclusive (WHERE x=y) constraints. The exp. Parses the passed-in Expression into exclusive (WHERE x=y) constraint. The expression. Determines whether the specified exp is constraint. The exp. true if the specified exp is constraint; otherwise, false. Gets the constant value. The exp. Indicates that a per-thread shared DbConnection object should be used the default DataProvider (or alternativley a specific DataProvider if one is given) when communicating with the database. This class is designed to be used within a using () {} block and in conjunction with a TransactionScope object. It's purpose is to force a common DbConnection object to be used which has the effect of avoiding promotion of a System.Transaction ambient Transaction to the DTC where possible. When this class is created, it indicates to the underlying DataProvider that is should use a shared DbConnection for subsequent operations. When the class is disposed (ie the using() {} block ends) it will indicate to the underlying provider that it should no longer it's current shared connection and should Dispose() it. Used to support nesting. By keeping a stack of all instances of the class that are created on this thread thread we know when it is safe to Reset the underlying shared connection. Indicates to the default DataProvider that it should use a per-thread shared connection. Indicates to the default DataProvider that it should use a per-thread shared connection using the given connection string. The connection string. Name of the provider. Indicates to the specified DataProvider that it should use a per-thread shared connection. The data provider. Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. Releases unmanaged and - optionally - managed resources true to release both managed and unmanaged resources; false to release only unmanaged resources. Provides access to underlying connection that is shared per thread The current connection. Used within SubSonic to automatically manage a SqlConnection. If a shared connection is available for the specified provider on the current thread, that shared connection will be used. Otherwise, a new connection will be created. Note that if a shared connection is used, it will NOT be automatically disposed - that is up to the caller. Lifetime management of the shared connection is taken care of by using a If a new connection is created, it will be automatically disposed when this AutomaticConnectionScope object is disposed. Initializes a new instance of the class. The provider. Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. Releases unmanaged and - optionally - managed resources true to release both managed and unmanaged resources; false to release only unmanaged resources. Gets the connection. Gets the connection. The connection. Gets a value indicating whether this instance is using shared connection. true if this instance is using shared connection; otherwise, false. A basic abstract LINQ query provider Optional interface for IQueryProvider to implement Query<T>'s QueryText property. A LINQ IQueryable query provider that executes database queries over a DbConnection DbQueryProvider constrcutor that allows for external control of policy to allow for new types of databases. Converts the query expression into text that corresponds to the command that would be executed. Useful for debugging. Execute the query expression (does translation, etc.) Convert the query expression into an execution plan Do all query translations execpt building the execution plan Determines whether a given expression can be executed locally. (It contains no parts that should be translated to the target environment.) Execute an actual query specified in the target language using the sADO connection Converts a data reader into a sequence of objects using a projector function on each row The reader. The fn projector. Get an IEnumerable that will execute the specified query when enumerated Get an ADO command object initialized with the command-text and parameters Write a command to the log Summary for the SqlFragment class Initializes a new instance of the class. The provider. Validates the query. Finds the column. Name of the column. Wheres the specified column name. Name of the column. Wheres the specified column. The column. Wheres the specified agg. The agg. Ors the specified column name. Name of the column. Ors the specified column. The column. Ors the specified agg. The agg. Ors the expression. Name of the column. Opens the expression. Closes the expression. Ands the specified column name. Name of the column. Ands the specified column. The column. Ands the specified agg. The agg. Ands the expression. Name of the column. Returns the currently set SQL statement for this query object Builds the SQL statement. Froms the specified TBL. The TBL. Froms the specified TBL. Name of the table. Froms the specified TBL. Creates an inner join based on the passed-in column names Creates an Inner Join, guessing based on Primary Key matching Inners the join. From column. To column. Outers the join. From column. To column. Crosses the join. From column. To column. Lefts the inner join. From column. To column. Rights the inner join. From column. To column. Lefts the outer join. From column. To column. Rights the outer join. From column. To column. Nots the equal join. From column. To column. Orders the asc. The columns. Orders the desc. The columns. Pageds the specified current page. The current page. Size of the page. Pageds the specified current page. The current page. Size of the page. The id column. Executes this instance. Executes the reader. Executes the scalar. Executes the scalar. The type of the result. Gets the record count. Executes the typed list. Executes the typed list. Executes the query and returns the result as a single item of T The type of item to return Executes the transaction. The queries. Executes the transaction. The queries. Name of the connection string. Gets or sets the open paren count. The open paren count. Gets or sets the closed paren count. The closed paren count. Initializes a new instance of the class. The query. Builds the paged select statement. Builds the insert statement. Initializes a new instance of the class. Initializes a new instance of the class. The table. The provider. A default implementation of IQueryable for use with QueryProvider Duplicate the query expression by making a copy with new table aliases Summary for the Validation class Determines whether the specified eval string contains only alpha characters. The eval string. true if the specified eval string is alpha; otherwise, false. Determines whether the specified eval string contains only alphanumeric characters The eval string. true if the string is alphanumeric; otherwise, false. Determines whether the specified eval string contains only alphanumeric characters The eval string. if set to true [allow spaces]. true if the string is alphanumeric; otherwise, false. Determines whether the specified eval string contains only numeric characters The eval string. true if the string is numeric; otherwise, false. Determines whether the specified email address string is valid based on regular expression evaluation. The email address string. true if the specified email address is valid; otherwise, false. Determines whether the specified string is lower case. The input string. true if the specified string is lower case; otherwise, false. Determines whether the specified string is upper case. The input string. true if the specified string is upper case; otherwise, false. Determines whether the specified string is a valid GUID. The GUID. true if the specified string is a valid GUID; otherwise, false. Determines whether the specified string is a valid US Zip Code, using either 5 or 5+4 format. The zip code. true if it is a valid zip code; otherwise, false. Determines whether the specified string is a valid US Zip Code, using the 5 digit format. The zip code. true if it is a valid zip code; otherwise, false. Determines whether the specified string is a valid US Zip Code, using the 5+4 format. The zip code. true if it is a valid zip code; otherwise, false. Determines whether the specified string is a valid Social Security number. Dashes are optional. The Social Security Number true if it is a valid Social Security number; otherwise, false. Determines whether the specified string is a valid IP address. The ip address. true if valid; otherwise, false. Determines whether the specified string is a valid US phone number using the referenced regex string. The telephone number. true if valid; otherwise, false. Determines whether the specified string is a valid currency string using the referenced regex string. The currency string. true if valid; otherwise, false. Determines whether the specified string is a valid URL string using the referenced regex string. The URL string. true if valid; otherwise, false. Determines whether the specified string is consider a strong password based on the supplied string. The password. true if strong; otherwise, false. Determines whether the specified string is a valid credit, based on matching any one of the eight credit card strings The credit card. true if valid; otherwise, false. Determines whether the specified string is an American Express, Discover, MasterCard, or Visa The credit card. true if valid; otherwise, false. Determines whether the specified string is an American Express card The credit card. true if valid; otherwise, false. Determines whether the specified string is an Carte Blanche card The credit card. true if valid; otherwise, false. Determines whether the specified string is an Diner's Club card The credit card. true if valid; otherwise, false. Determines whether the specified string is a Discover card The credit card. true if valid; otherwise, false. Determines whether the specified string is an En Route card The credit card. true if valid; otherwise, false. Determines whether the specified string is an JCB card The credit card. true if valid; otherwise, false. Determines whether the specified string is a Master Card credit card The credit card. true if valid; otherwise, false. Determines whether the specified string is Visa card. The credit card. true if valid; otherwise, false. Cleans the credit card number, returning just the numeric values. The credit card. Determines whether the credit card number, once cleaned, passes the Luhn algorith. See: http://en.wikipedia.org/wiki/Luhn_algorithm The credit card number. Determines whether the specified int array passes the Luhn algorith The int array to evaluate true if it validates; otherwise, false. Determine whether the passed string is numeric, by attempting to parse it to a double The string to evaluated for numeric conversion true if the string can be converted to a number; otherwise, false. Executes the specified SQL. Executes the scalar. The type of the result. Executes the typed list. Executes the reader. Type related helper methods Initializes a new instance of the class. The provider. The columns. Initializes a new instance of the class. Initializes a new instance of the class. The aggregates. Initializes a new instance of the class. The provider. The aggregates. Initializes a new instance of the class. The columns. Initializes a new instance of the class. WARNING: This overload should only be used with applications that use a single provider! The columns. Alls the columns from. Expressions the specified SQL expression. The SQL expression. Tops the specified top. The top. Removes the column. Sets the column attributes. The column. Gets the type of the db. Type of the SQL. Type related helper methods Replaces references to one specific instance of an expression node with another node TSQL specific QueryLanguage returns the set of all aliases produced by a query source Creates a set of SQL commands for synchronizing your database with your object set Builds the delete query. The item. Builds the insert query. The item. Builds the update query. The item. Creates a reusable, parameterized representation of a query that caches the execution plan Summary for the Dates class Returns a date in the past by days. The days. Returns a date in the future by days. The days. Returns a date in the past by hours. The hours. Returns a date in the future by hours. The hours. Returns a date in the past by minutes The minutes. Returns a date in the future by minutes. The minutes. Gets a date in the past according to seconds The seconds. Gets a date in the future by seconds. The seconds. Diffs the specified date. The date one. The date two. Returns a double indicating the number of days between two dates (past is negative) The date one. The date two. Returns a double indicating the number of days between two dates (past is negative) The date one. The date two. Returns a double indicating the number of days between two dates (past is negative) The date one. The date two. Returns a double indicating the number of days between two dates (past is negative) The date one. The date two. Returns a double indicating the number of days between two dates (past is negative) The date one. The date two. Returns a double indicating the number of days between two dates (past is negative) The date one. The date two. Displays the difference in time between the two dates. Return example is "12 years 4 months 24 days 8 hours 33 minutes 5 seconds" The start time. The end time. Counts the number of weekdays between two dates. The start time. The end time. Counts the number of weekends between two dates. The start time. The end time. Verifies if the object is a date The dt. true if the specified dt is date; otherwise, false. Checks to see if the date is a week day (Mon - Fri) The dt. true if [is week day] [the specified dt]; otherwise, false. Checks to see if the date is Saturday or Sunday The dt. true if [is week end] [the specified dt]; otherwise, false. Displays the difference in time between the two dates. Return example is "12 years 4 months 24 days 8 hours 33 minutes 5 seconds" The start time. The end time. Given a datetime object, returns the formatted month and day, i.e. "April 15th" The date to extract the string from Given a datetime object, returns the formatted day, "15th" The date to extract the string from Remove leading strings with zeros and adjust for singular/plural The STR. The previous STR. The t. An enumeration value for no options configured. The default set of options (right now the same as none). Use this flag to let the repository run migrations. Removes select expressions that don't add any additional semantic value Rewrite all column references to one or more aliases to a new single alias Summary for the Inflector class Initializes the class. Adds the irregular rule. The singular. The plural. Adds the unknown count rule. The word. Adds the plural rule. The rule. The replacement. Adds the singular rule. The rule. The replacement. Makes the plural. The word. Makes the singular. The word. Applies the rules. The rules. The word. Converts the string to title case. The word. Converts the string to human case. The lowercase and underscored word. Convert string to proper case The source string. Converts the string to pascal case. The lowercase and underscored word. Converts text to pascal case... The text. if set to true [remove underscores]. Converts the string to camel case. The lowercase and underscored word. Adds the underscores. The pascal cased word. Makes the initial caps. The word. Makes the initial lower case. The word. Adds the ordinal suffix. The number. Converts the underscores to dashes. The underscored word. Summary for the InflectorRule class Initializes a new instance of the class. The regex pattern. The replacement text. Applies the specified word. The word. Process the passed-in LINQ expression Sets the column attributes. The column. Gets the type of the db. Type of the SQL. A Repository class which wraps the a Database by type Loads a T object The item. The column. The value. Loads a T object The item. The expression. Returns all T items Returns a single record Returns a server-side Paged List Returns a server-side Paged List Returns a server-side Paged List Returns an IQueryable based on the passed-in Expression Chinook Database Returns an IQueryable based on the passed-in Expression Chinook Database Adds a T item to the db Adds a T item to the db Adds a bunch of T items Adds a bunch of T items Updates the passed-in T Updates the passed-in T Updates the passed-in T Updates the passed-in T Deletes the passed-in T items Deletes the passed-in T items Deletes the passed-in T item Deletes the passed-in T item Deletes the T item by Primary Key Deletes the T item by Primary Key Deletes 0 to n T items from the Database based on the passed-in Expression Deletes 0 to n T items from the Database based on the passed-in Expression Singles the specified expression. The expression. Singles the specified key. The key. Retrieves subset of records from the database matching the expression Gets the paged. Index of the page. Size of the page. Gets the paged. The sort by. Index of the page. Size of the page. Adds the specified item, setting the key if available. The item. Adds a lot of the items using a transaction. The items. Updates the specified item. The item. Updates lots of items using a transaction. The items. Deletes the specified key. The key. Deletes 1 or more items. The expression. Deletes 1 or more items. The items. Migrates this instance. Rewrites an expression tree so that locally isolatable sub-expressions are evaluated and converted into ConstantExpression nodes. Performs evaluation and replacement of independent sub-trees The root of the expression tree. A function that decides whether a given expression node can be part of the local function. A new tree with sub-trees evaluated and replaced. Performs evaluation and replacement of independent sub-trees The root of the expression tree. A new tree with sub-trees evaluated and replaced. Evaluates and replaces sub-trees when first candidate is reached (top-down) Performs bottom-up analysis to determine which nodes can possibly be part of an evaluated sub-tree. Formats a query expression into TSQL language syntax TSQL specific QueryLanguage Initializes a new instance of the class. The query. Gets the type of the native. Type of the db. Generates SQL for all the columns in table Table containing the columns. SQL fragment representing the supplied columns. Generates from list. Sets the column attributes. The column. Builds the paged select statement. Finds the first sub-expression that accesses a Query<T> object Removes column declarations in SelectExpression's that are not referenced