summaryrefslogtreecommitdiffstats
path: root/projecttemplates/WebFormsRelyingParty/Model.Designer.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2009-11-09 08:44:30 -0800
committerAndrew Arnott <andrewarnott@gmail.com>2009-11-09 08:44:30 -0800
commit75737b85f5dce833c4fed0b1c839150fc1e6c3dc (patch)
tree7248275682931c1d88d4ec9a0002d4c88b1f1b7c /projecttemplates/WebFormsRelyingParty/Model.Designer.cs
parentb00d9da0af1cb5bcd958ec6c402032d9d95e6c0d (diff)
downloadDotNetOpenAuth-75737b85f5dce833c4fed0b1c839150fc1e6c3dc.zip
DotNetOpenAuth-75737b85f5dce833c4fed0b1c839150fc1e6c3dc.tar.gz
DotNetOpenAuth-75737b85f5dce833c4fed0b1c839150fc1e6c3dc.tar.bz2
Added EmailAddressVerified column to users table and code to utilize it.
Diffstat (limited to 'projecttemplates/WebFormsRelyingParty/Model.Designer.cs')
-rw-r--r--projecttemplates/WebFormsRelyingParty/Model.Designer.cs31
1 files changed, 28 insertions, 3 deletions
diff --git a/projecttemplates/WebFormsRelyingParty/Model.Designer.cs b/projecttemplates/WebFormsRelyingParty/Model.Designer.cs
index 5c7b138..321d83b 100644
--- a/projecttemplates/WebFormsRelyingParty/Model.Designer.cs
+++ b/projecttemplates/WebFormsRelyingParty/Model.Designer.cs
@@ -13,7 +13,7 @@
[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("DatabaseModel", "UserAuthenticationToken", "User", global::System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(WebFormsRelyingParty.User), "AuthenticationToken", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(WebFormsRelyingParty.AuthenticationToken))]
// Original file name:
-// Generation date: 10/10/2009 9:43:51 AM
+// Generation date: 11/9/2009 7:05:56 AM
namespace WebFormsRelyingParty
{
@@ -350,10 +350,12 @@ namespace WebFormsRelyingParty
/// Create a new User object.
/// </summary>
/// <param name="id">Initial value of Id.</param>
- public static User CreateUser(int id)
+ /// <param name="emailAddressVerified">Initial value of EmailAddressVerified.</param>
+ public static User CreateUser(int id, bool emailAddressVerified)
{
User user = new User();
user.Id = id;
+ user.EmailAddressVerified = emailAddressVerified;
return user;
}
/// <summary>
@@ -426,7 +428,7 @@ namespace WebFormsRelyingParty
partial void OnLastNameChanging(string value);
partial void OnLastNameChanged();
/// <summary>
- /// There are no comments for Property EmailAddress in the schema.
+ /// The email address claimed to be controlled by the user. Whether it is actually owned by the user is indicated by the EmailAddressVerified property.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
[global::System.Runtime.Serialization.DataMemberAttribute()]
@@ -449,6 +451,29 @@ namespace WebFormsRelyingParty
partial void OnEmailAddressChanging(string value);
partial void OnEmailAddressChanged();
/// <summary>
+ /// A value indicating whether the email address has been verified as actually owned by this user.
+ /// </summary>
+ [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)]
+ [global::System.Runtime.Serialization.DataMemberAttribute()]
+ public bool EmailAddressVerified
+ {
+ get
+ {
+ return this._EmailAddressVerified;
+ }
+ set
+ {
+ this.OnEmailAddressVerifiedChanging(value);
+ this.ReportPropertyChanging("EmailAddressVerified");
+ this._EmailAddressVerified = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
+ this.ReportPropertyChanged("EmailAddressVerified");
+ this.OnEmailAddressVerifiedChanged();
+ }
+ }
+ private bool _EmailAddressVerified;
+ partial void OnEmailAddressVerifiedChanging(bool value);
+ partial void OnEmailAddressVerifiedChanged();
+ /// <summary>
/// There are no comments for Roles in the schema.
/// </summary>
[global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("DatabaseModel", "UserRole", "Role")]