示例#1
0
        public void Create_Database()
        {
            MockDb.Users.Add(new UserData
            {
                UserId       = 3,
                Name         = "tanis",
                Email        = "*****@*****.**",
                FullName     = "Tanis Sungold",
                Salt         = "YQmsBzX/4A",
                Password     = "******",
                IsActive     = true,
                CreatedDate  = DateTime.Parse("1/1/2011"),
                ModifiedDate = DateTime.Parse("1/1/2011")
            });

            MockDb.SaveData(MockDb.Users, "c:\\users.xml");
        }