示例#1
0
 /// <summary>
 /// Write SQL script to file and return file path
 /// </summary>
 /// <param name="sqlPersister">SQL Persisting</param>
 /// <param name="filePath">File path where output is written</param>
 /// <returns></returns>
 public string ToSqlScript(ISqlPersister sqlPersister, FilePath filePath)
 {
     return(sqlPersister.ToSqlScript(rootTable, filePath));
 }
示例#2
0
 /// <summary>
 /// Return sql scripts in string
 /// </summary>
 /// <param name="sqlPersister">SQL stratagy</param>
 /// <returns></returns>
 public StringBuilder ToSqlScript(ISqlPersister sqlPersister)
 {
     return(sqlPersister.ToSqlScript(rootTable));
 }