Пример #1
0
 public string GenerateSqlFor(Writer item)
 {
     return string.Format("\n" + AuthorInsert,
         EncodeMySqlString(item.Id.ToString()),
         EncodeMySqlString(item.Name.TrimStart()),
         EncodeMySqlString(item.Email));
 }
Пример #2
0
 public string GenerateSqlFor(Writer item)
 {
     return string.Format(AuthorInsert, 
         item.Id.ToEscapedString(),
         item.Name.TrimStart().ToEscapedString(),
         item.Email.ToEscapedString());
 }