SnapDAL Library Documentation

SqlProvider.CreateSqlFiles Method

Create statement config files for all of the stored procedures in the database referred to by the connection string and put them in the given cacheDir. This command is long running so it is executed asynchronously. If you want to wait for the results, use the xxxSync version of the command.

Overload List

Create statement config files for all of the stored procedures in the database referred to by the connection string and put them in the given cacheDir. This command is long running so it is executed asynchronously. If you want to wait for the results, use the xxxSync version of the command.

public static void CreateSqlFiles(string,DirectoryInfo);

Create sql files as in CreateSqlFiles(connect, cacheDir) but indicate whether you want a default source column added to the statement files. This is used for DataAdapter mapping of database column names to dataset column names.

public static void CreateSqlFiles(string,DirectoryInfo,bool);

See Also

SqlProvider Class | SnapDAL.Providers Namespace