SnapDAL Library Documentation

SqlProvider.CreateSqlFiles Method (String, DirectoryInfo)

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 connect,
   DirectoryInfo cacheDir


Connection string for this operation
Location of the created files. You must have write permission in this directory or the command will crash.

See Also

SqlProvider Class | SnapDAL.Providers Namespace | SqlProvider.CreateSqlFiles Overload List