src/Inflatable/QueryProvider/Providers/SQLServer/QueryGenerators/InsertQuery.cs
/// <summary>
/// Generates the declarations needed for the query.
/// </summary>
/// <returns>The resulting declarations.</returns>
Generates the declarations needed for the query.
Generates the declarations needed for the query .
public override IQuery[] GenerateDeclarations()
        {
            if (QueryDeclarationText is null)
                return Array.Empty<IQuery>();
            var ReturnValue = new List<IQuery>();
            for (var x = 0; x < QueryDeclarationText.Length; ++x)
            {
                ReturnValue.Add(new Query(AssociatedType, CommandType.Text, QueryDeclarationText[x], QueryType));
            }
            return ReturnValue.ToArray();
        }
public override IQuery [ ] GenerateDeclarations ( ) { if ( QueryDeclarationText is null ) return Array . Empty < IQuery > ( ) ; var ReturnValue = new List < IQuery > ( ) ; for ( var x = 0 ; x < QueryDeclarationText . Length ; ++ x ) { ReturnValue . Add ( new Query ( AssociatedType , CommandType . Text , QueryDeclarationText [ x ] , QueryType ) ) ; } return ReturnValue . ToArray ( ) ; }
Generates the declarations needed for the query.
Generates the declarations needed for the query .
The resulting declarations.
The resulting declarations .