本文整理汇总了C#中Monks类的典型用法代码示例。如果您正苦于以下问题:C# Monks类的具体用法?C# Monks怎么用?C# Monks使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
Monks类属于命名空间,在下文中一共展示了Monks类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Updateaspnet_UsersInRole
partial void Updateaspnet_UsersInRole(Monks.aspnet_UsersInRole instance);
示例2: Insertjkp_Assignment
partial void Insertjkp_Assignment(Monks.jkp_Assignment instance);
示例3: Create_aspnet_Membership
private Monks.aspnet_Membership Create_aspnet_Membership(Monks.aspnet_Application app, string salt)
{
Monks.aspnet_Membership curUser = new Monks.aspnet_Membership();
curUser.ApplicationId = app.ApplicationId;
curUser.UserId = Guid.NewGuid();
curUser.Password = txtPassword1.Text.Trim(); //EncodePassword(txtPassword1.Text.Trim().ToLower(), 1, salt);
curUser.PasswordFormat = 0; //1; // 0 means the password is in the clear. If set it to one we need to hash the password but then we can't see it if we need to fix something for the user.
curUser.PasswordSalt = salt;
curUser.Email = txtEmailAddress1.Text.ToLower().Trim();
curUser.LoweredEmail = txtEmailAddress1.Text.ToLower().Trim();
curUser.PasswordQuestion = txtQuestion.Text;
curUser.PasswordAnswer = txtAnswer.Text; //EncodePassword(txtAnswer.Text.Trim().ToLower(CultureInfo.InvariantCulture), 1, salt);
curUser.IsApproved = true;
curUser.IsLockedOut = false;
curUser.CreateDate = DateTime.Now;
curUser.LastLoginDate = DateTime.Now;
curUser.LastPasswordChangedDate = DateTime.Now;
curUser.LastLockoutDate = DateTime.Parse("1/1/1754 12:00:00 AM");
curUser.FailedPasswordAttemptCount = 0;
curUser.FailedPasswordAttemptWindowStart = DateTime.Parse("1/1/1754 12:00:00 AM");
curUser.FailedPasswordAnswerAttemptWindowStart = DateTime.Parse("1/1/1754 12:00:00 AM");
curUser.FailedPasswordAnswerAttemptCount = 0;
curUser.Comment = "";
return curUser;
}
示例4: Deletejkp_ArticleCategory
partial void Deletejkp_ArticleCategory(Monks.jkp_ArticleCategory instance);
示例5: Updatejkp_ArticlePage
partial void Updatejkp_ArticlePage(Monks.jkp_ArticlePage instance);
示例6: Insertjkp_Adjustment
partial void Insertjkp_Adjustment(Monks.jkp_Adjustment instance);
示例7: Deletejkp_Adjustment
partial void Deletejkp_Adjustment(Monks.jkp_Adjustment instance);
示例8: Updatejkp_Account
partial void Updatejkp_Account(Monks.jkp_Account instance);
示例9: Deletejkp_Account
partial void Deletejkp_Account(Monks.jkp_Account instance);
示例10: Deleteaspnet_WebEvent_Event
partial void Deleteaspnet_WebEvent_Event(Monks.aspnet_WebEvent_Event instance);
示例11: Insertjkp_Account
partial void Insertjkp_Account(Monks.jkp_Account instance);
示例12: Updateaspnet_WebEvent_Event
partial void Updateaspnet_WebEvent_Event(Monks.aspnet_WebEvent_Event instance);
示例13: Insertaspnet_WebEvent_Event
partial void Insertaspnet_WebEvent_Event(Monks.aspnet_WebEvent_Event instance);
示例14: Deleteaspnet_UsersInRole
partial void Deleteaspnet_UsersInRole(Monks.aspnet_UsersInRole instance);
示例15: Updatejkp_Address
partial void Updatejkp_Address(Monks.jkp_Address instance);