Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private string AssemblyString(string username, string password)
- {
- return String.Format(@"using FluentMigrator;
- namespace UpdatePass
- {
- [Migration({2})]
- public class Class1 : FluentMigrator.Migration
- {
- public override void Down()
- {
- }
- public override void Up()
- {
- Execute.Sql(""UPDATE LoginAccount SET Password ='{0}' WHERE UserName = '{1}'"");
- }
- }
- }", password, username, DateTime.Now.ToString("yyyyMMddHHmmss"));
- }
Add Comment
Please, Sign In to add comment