summaryrefslogtreecommitdiffstats
path: root/projecttemplates/RelyingPartyLogic/Model.Designer.cs
diff options
context:
space:
mode:
Diffstat (limited to 'projecttemplates/RelyingPartyLogic/Model.Designer.cs')
-rw-r--r--projecttemplates/RelyingPartyLogic/Model.Designer.cs1168
1 files changed, 1168 insertions, 0 deletions
diff --git a/projecttemplates/RelyingPartyLogic/Model.Designer.cs b/projecttemplates/RelyingPartyLogic/Model.Designer.cs
new file mode 100644
index 0000000..d19d305
--- /dev/null
+++ b/projecttemplates/RelyingPartyLogic/Model.Designer.cs
@@ -0,0 +1,1168 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+// This code was generated by a tool.
+// Runtime Version:2.0.50727.4927
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+[assembly: global::System.Data.Objects.DataClasses.EdmSchemaAttribute()]
+[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("DatabaseModel", "UserRole", "Role", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(RelyingPartyLogic.Role), "User", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(RelyingPartyLogic.User))]
+[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("DatabaseModel", "UserAuthenticationToken", "User", global::System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(RelyingPartyLogic.User), "AuthenticationToken", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(RelyingPartyLogic.AuthenticationToken))]
+[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("DatabaseModel", "FK_IssuedToken_Consumer", "Consumer", global::System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(RelyingPartyLogic.Consumer), "IssuedTokens", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(RelyingPartyLogic.IssuedToken))]
+[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("DatabaseModel", "FK_IssuedToken_User", "User", global::System.Data.Metadata.Edm.RelationshipMultiplicity.ZeroOrOne, typeof(RelyingPartyLogic.User), "IssuedTokens", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(RelyingPartyLogic.IssuedToken))]
+
+// Original file name:
+// Generation date: 11/13/2009 4:45:45 PM
+namespace RelyingPartyLogic
+{
+
+ /// <summary>
+ /// There are no comments for DatabaseEntities in the schema.
+ /// </summary>
+ public partial class DatabaseEntities : global::System.Data.Objects.ObjectContext
+ {
+ /// <summary>
+ /// Initializes a new DatabaseEntities object using the connection string found in the 'DatabaseEntities' section of the application configuration file.
+ /// </summary>
+ public DatabaseEntities() :
+ base("name=DatabaseEntities", "DatabaseEntities")
+ {
+ this.OnContextCreated();
+ }
+ /// <summary>
+ /// Initialize a new DatabaseEntities object.
+ /// </summary>
+ public DatabaseEntities(string connectionString) :
+ base(connectionString, "DatabaseEntities")
+ {
+ this.OnContextCreated();
+ }
+ /// <summary>
+ /// Initialize a new DatabaseEntities object.
+ /// </summary>
+ public DatabaseEntities(global::System.Data.EntityClient.EntityConnection connection) :
+ base(connection, "DatabaseEntities")
+ {
+ this.OnContextCreated();
+ }
+ partial void OnContextCreated();
+ /// <summary>
+ /// There are no comments for Role in the schema.
+ /// </summary>
+ public global::System.Data.Objects.ObjectQuery<Role> Role
+ {
+ get
+ {
+ if ((this._Role == null))
+ {
+ this._Role = base.CreateQuery<Role>("[Role]");
+ }
+ return this._Role;
+ }
+ }
+ private global::System.Data.Objects.ObjectQuery<Role> _Role;
+ /// <summary>
+ /// There are no comments for User in the schema.
+ /// </summary>
+ public global::System.Data.Objects.ObjectQuery<User> User
+ {
+ get
+ {
+ if ((this._User == null))
+ {
+ this._User = base.CreateQuery<User>("[User]");
+ }
+ return this._User;
+ }
+ }
+ private global::System.Data.Objects.ObjectQuery<User> _User;
+ /// <summary>
+ /// There are no comments for AuthenticationToken in the schema.
+ /// </summary>
+ public global::System.Data.Objects.ObjectQuery<AuthenticationToken> AuthenticationToken
+ {
+ get
+ {
+ if ((this._AuthenticationToken == null))
+ {
+ this._AuthenticationToken = base.CreateQuery<AuthenticationToken>("[AuthenticationToken]");
+ }
+ return this._AuthenticationToken;
+ }
+ }
+ private global::System.Data.Objects.ObjectQuery<AuthenticationToken> _AuthenticationToken;
+ /// <summary>
+ /// There are no comments for Consumer in the schema.
+ /// </summary>
+ public global::System.Data.Objects.ObjectQuery<Consumer> Consumer
+ {
+ get
+ {
+ if ((this._Consumer == null))
+ {
+ this._Consumer = base.CreateQuery<Consumer>("[Consumer]");
+ }
+ return this._Consumer;
+ }
+ }
+ private global::System.Data.Objects.ObjectQuery<Consumer> _Consumer;
+ /// <summary>
+ /// There are no comments for IssuedToken in the schema.
+ /// </summary>
+ public global::System.Data.Objects.ObjectQuery<IssuedToken> IssuedToken
+ {
+ get
+ {
+ if ((this._IssuedToken == null))
+ {
+ this._IssuedToken = base.CreateQuery<IssuedToken>("[IssuedToken]");
+ }
+ return this._IssuedToken;
+ }
+ }
+ private global::System.Data.Objects.ObjectQuery<IssuedToken> _IssuedToken;
+ /// <summary>
+ /// There are no comments for Role in the schema.
+ /// </summary>
+ public void AddToRole(Role role)
+ {
+ base.AddObject("Role", role);
+ }
+ /// <summary>
+ /// There are no comments for User in the schema.
+ /// </summary>
+ public void AddToUser(User user)
+ {
+ base.AddObject("User", user);
+ }
+ /// <summary>
+ /// There are no comments for AuthenticationToken in the schema.
+ /// </summary>
+ public void AddToAuthenticationToken(AuthenticationToken authenticationToken)
+ {
+ base.AddObject("AuthenticationToken", authenticationToken);
+ }
+ /// <summary>
+ /// There are no comments for Consumer in the schema.
+ /// </summary>
+ public void AddToConsumer(Consumer consumer)
+ {
+ base.AddObject("Consumer", consumer);
+ }
+ /// <summary>
+ /// There are no comments for IssuedToken in the schema.
+ /// </summary>
+ public void AddToIssuedToken(IssuedToken issuedToken)
+ {
+ base.AddObject("IssuedToken", issuedToken);
+ }
+ }
+ /// <summary>
+ /// There are no comments for DatabaseModel.AuthenticationToken in the schema.
+ /// </summary>
+ /// <KeyProperties>
+ /// Id
+ /// </KeyProperties>
+ [global::System.Data.Objects.DataClasses.EdmEntityTypeAttribute(NamespaceName="DatabaseModel", Name="AuthenticationToken")]
+ [global::System.Runtime.Serialization.DataContractAttribute(IsReference=true)]
+ [global::System.Serializable()]
+ public partial class AuthenticationToken : global::System.Data.Objects.DataClasses.EntityObject
+ {
+ /// <summary>
+ /// Create a new AuthenticationToken object.
+ /// </summary>
+ /// <param name="id">Initial value of Id.</param>
+ /// <param name="claimedIdentifier">Initial value of ClaimedIdentifier.</param>
+ public static AuthenticationToken CreateAuthenticationToken(int id, string claimedIdentifier)
+ {
+ AuthenticationToken authenticationToken = new AuthenticationToken();
+ authenticationToken.Id = id;
+ authenticationToken.ClaimedIdentifier = claimedIdentifier;
+ return authenticationToken;
+ }
+ /// <summary>
+ /// There are no comments for Property Id in the schema.
+ /// </summary>
+ [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)]
+ [global::System.Runtime.Serialization.DataMemberAttribute()]
+ public int Id
+ {
+ get
+ {
+ return this._Id;
+ }
+ set
+ {
+ this.OnIdChanging(value);
+ this.ReportPropertyChanging("Id");
+ this._Id = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
+ this.ReportPropertyChanged("Id");
+ this.OnIdChanged();
+ }
+ }
+ private int _Id;
+ partial void OnIdChanging(int value);
+ partial void OnIdChanged();
+ /// <summary>
+ /// There are no comments for Property ClaimedIdentifier in the schema.
+ /// </summary>
+ [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)]
+ [global::System.Runtime.Serialization.DataMemberAttribute()]
+ public string ClaimedIdentifier
+ {
+ get
+ {
+ return this._ClaimedIdentifier;
+ }
+ set
+ {
+ this.OnClaimedIdentifierChanging(value);
+ this.ReportPropertyChanging("ClaimedIdentifier");
+ this._ClaimedIdentifier = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, false);
+ this.ReportPropertyChanged("ClaimedIdentifier");
+ this.OnClaimedIdentifierChanged();
+ }
+ }
+ private string _ClaimedIdentifier;
+ partial void OnClaimedIdentifierChanging(string value);
+ partial void OnClaimedIdentifierChanged();
+ /// <summary>
+ /// There are no comments for Property FriendlyIdentifier in the schema.
+ /// </summary>
+ [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
+ [global::System.Runtime.Serialization.DataMemberAttribute()]
+ public string FriendlyIdentifier
+ {
+ get
+ {
+ return this._FriendlyIdentifier;
+ }
+ set
+ {
+ this.OnFriendlyIdentifierChanging(value);
+ this.ReportPropertyChanging("FriendlyIdentifier");
+ this._FriendlyIdentifier = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
+ this.ReportPropertyChanged("FriendlyIdentifier");
+ this.OnFriendlyIdentifierChanged();
+ }
+ }
+ private string _FriendlyIdentifier;
+ partial void OnFriendlyIdentifierChanging(string value);
+ partial void OnFriendlyIdentifierChanged();
+ /// <summary>
+ /// There are no comments for User in the schema.
+ /// </summary>
+ [global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("DatabaseModel", "UserAuthenticationToken", "User")]
+ [global::System.Xml.Serialization.XmlIgnoreAttribute()]
+ [global::System.Xml.Serialization.SoapIgnoreAttribute()]
+ [global::System.Runtime.Serialization.DataMemberAttribute()]
+ public User User
+ {
+ get
+ {
+ return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<User>("DatabaseModel.UserAuthenticationToken", "User").Value;
+ }
+ set
+ {
+ ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<User>("DatabaseModel.UserAuthenticationToken", "User").Value = value;
+ }
+ }
+ /// <summary>
+ /// There are no comments for User in the schema.
+ /// </summary>
+ [global::System.ComponentModel.BrowsableAttribute(false)]
+ [global::System.Runtime.Serialization.DataMemberAttribute()]
+ public global::System.Data.Objects.DataClasses.EntityReference<User> UserReference
+ {
+ get
+ {
+ return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<User>("DatabaseModel.UserAuthenticationToken", "User");
+ }
+ set
+ {
+ if ((value != null))
+ {
+ ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedReference<User>("DatabaseModel.UserAuthenticationToken", "User", value);
+ }
+ }
+ }
+ }
+ /// <summary>
+ /// There are no comments for DatabaseModel.Role in the schema.
+ /// </summary>
+ /// <KeyProperties>
+ /// Id
+ /// </KeyProperties>
+ [global::System.Data.Objects.DataClasses.EdmEntityTypeAttribute(NamespaceName="DatabaseModel", Name="Role")]
+ [global::System.Runtime.Serialization.DataContractAttribute(IsReference=true)]
+ [global::System.Serializable()]
+ public partial class Role : global::System.Data.Objects.DataClasses.EntityObject
+ {
+ /// <summary>
+ /// Create a new Role object.
+ /// </summary>
+ /// <param name="id">Initial value of Id.</param>
+ /// <param name="name">Initial value of Name.</param>
+ public static Role CreateRole(int id, string name)
+ {
+ Role role = new Role();
+ role.Id = id;
+ role.Name = name;
+ return role;
+ }
+ /// <summary>
+ /// There are no comments for Property Id in the schema.
+ /// </summary>
+ [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)]
+ [global::System.Runtime.Serialization.DataMemberAttribute()]
+ public int Id
+ {
+ get
+ {
+ return this._Id;
+ }
+ private set
+ {
+ this.OnIdChanging(value);
+ this.ReportPropertyChanging("Id");
+ this._Id = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
+ this.ReportPropertyChanged("Id");
+ this.OnIdChanged();
+ }
+ }
+ private int _Id;
+ partial void OnIdChanging(int value);
+ partial void OnIdChanged();
+ /// <summary>
+ /// There are no comments for Property Name in the schema.
+ /// </summary>
+ [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)]
+ [global::System.Runtime.Serialization.DataMemberAttribute()]
+ public string Name
+ {
+ get
+ {
+ return this._Name;
+ }
+ set
+ {
+ this.OnNameChanging(value);
+ this.ReportPropertyChanging("Name");
+ this._Name = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, false);
+ this.ReportPropertyChanged("Name");
+ this.OnNameChanged();
+ }
+ }
+ private string _Name;
+ partial void OnNameChanging(string value);
+ partial void OnNameChanged();
+ /// <summary>
+ /// There are no comments for Users in the schema.
+ /// </summary>
+ [global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("DatabaseModel", "UserRole", "User")]
+ [global::System.Xml.Serialization.XmlIgnoreAttribute()]
+ [global::System.Xml.Serialization.SoapIgnoreAttribute()]
+ [global::System.Runtime.Serialization.DataMemberAttribute()]
+ public global::System.Data.Objects.DataClasses.EntityCollection<User> Users
+ {
+ get
+ {
+ return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedCollection<User>("DatabaseModel.UserRole", "User");
+ }
+ set
+ {
+ if ((value != null))
+ {
+ ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedCollection<User>("DatabaseModel.UserRole", "User", value);
+ }
+ }
+ }
+ }
+ /// <summary>
+ /// There are no comments for DatabaseModel.User in the schema.
+ /// </summary>
+ /// <KeyProperties>
+ /// Id
+ /// </KeyProperties>
+ [global::System.Data.Objects.DataClasses.EdmEntityTypeAttribute(NamespaceName="DatabaseModel", Name="User")]
+ [global::System.Runtime.Serialization.DataContractAttribute(IsReference=true)]
+ [global::System.Serializable()]
+ public partial class User : global::System.Data.Objects.DataClasses.EntityObject
+ {
+ /// <summary>
+ /// Create a new User object.
+ /// </summary>
+ /// <param name="id">Initial value of Id.</param>
+ /// <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>
+ /// There are no comments for Property Id in the schema.
+ /// </summary>
+ [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)]
+ [global::System.Runtime.Serialization.DataMemberAttribute()]
+ public int Id
+ {
+ get
+ {
+ return this._Id;
+ }
+ private set
+ {
+ this.OnIdChanging(value);
+ this.ReportPropertyChanging("Id");
+ this._Id = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
+ this.ReportPropertyChanged("Id");
+ this.OnIdChanged();
+ }
+ }
+ private int _Id;
+ partial void OnIdChanging(int value);
+ partial void OnIdChanged();
+ /// <summary>
+ /// There are no comments for Property FirstName in the schema.
+ /// </summary>
+ [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
+ [global::System.Runtime.Serialization.DataMemberAttribute()]
+ public string FirstName
+ {
+ get
+ {
+ return this._FirstName;
+ }
+ set
+ {
+ this.OnFirstNameChanging(value);
+ this.ReportPropertyChanging("FirstName");
+ this._FirstName = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
+ this.ReportPropertyChanged("FirstName");
+ this.OnFirstNameChanged();
+ }
+ }
+ private string _FirstName;
+ partial void OnFirstNameChanging(string value);
+ partial void OnFirstNameChanged();
+ /// <summary>
+ /// There are no comments for Property LastName in the schema.
+ /// </summary>
+ [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
+ [global::System.Runtime.Serialization.DataMemberAttribute()]
+ public string LastName
+ {
+ get
+ {
+ return this._LastName;
+ }
+ set
+ {
+ this.OnLastNameChanging(value);
+ this.ReportPropertyChanging("LastName");
+ this._LastName = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
+ this.ReportPropertyChanged("LastName");
+ this.OnLastNameChanged();
+ }
+ }
+ private string _LastName;
+ partial void OnLastNameChanging(string value);
+ partial void OnLastNameChanged();
+ /// <summary>
+ /// 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()]
+ public string EmailAddress
+ {
+ get
+ {
+ return this._EmailAddress;
+ }
+ set
+ {
+ this.OnEmailAddressChanging(value);
+ this.ReportPropertyChanging("EmailAddress");
+ this._EmailAddress = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
+ this.ReportPropertyChanged("EmailAddress");
+ this.OnEmailAddressChanged();
+ }
+ }
+ private string _EmailAddress;
+ 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")]
+ [global::System.Xml.Serialization.XmlIgnoreAttribute()]
+ [global::System.Xml.Serialization.SoapIgnoreAttribute()]
+ [global::System.Runtime.Serialization.DataMemberAttribute()]
+ public global::System.Data.Objects.DataClasses.EntityCollection<Role> Roles
+ {
+ get
+ {
+ return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedCollection<Role>("DatabaseModel.UserRole", "Role");
+ }
+ set
+ {
+ if ((value != null))
+ {
+ ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedCollection<Role>("DatabaseModel.UserRole", "Role", value);
+ }
+ }
+ }
+ /// <summary>
+ /// There are no comments for AuthenticationTokens in the schema.
+ /// </summary>
+ [global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("DatabaseModel", "UserAuthenticationToken", "AuthenticationToken")]
+ [global::System.Xml.Serialization.XmlIgnoreAttribute()]
+ [global::System.Xml.Serialization.SoapIgnoreAttribute()]
+ [global::System.Runtime.Serialization.DataMemberAttribute()]
+ public global::System.Data.Objects.DataClasses.EntityCollection<AuthenticationToken> AuthenticationTokens
+ {
+ get
+ {
+ return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedCollection<AuthenticationToken>("DatabaseModel.UserAuthenticationToken", "AuthenticationToken");
+ }
+ set
+ {
+ if ((value != null))
+ {
+ ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedCollection<AuthenticationToken>("DatabaseModel.UserAuthenticationToken", "AuthenticationToken", value);
+ }
+ }
+ }
+ /// <summary>
+ /// There are no comments for IssuedToken in the schema.
+ /// </summary>
+ [global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("DatabaseModel", "FK_IssuedToken_User", "IssuedTokens")]
+ [global::System.Xml.Serialization.XmlIgnoreAttribute()]
+ [global::System.Xml.Serialization.SoapIgnoreAttribute()]
+ [global::System.Runtime.Serialization.DataMemberAttribute()]
+ public global::System.Data.Objects.DataClasses.EntityCollection<IssuedToken> IssuedToken
+ {
+ get
+ {
+ return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedCollection<IssuedToken>("DatabaseModel.FK_IssuedToken_User", "IssuedTokens");
+ }
+ set
+ {
+ if ((value != null))
+ {
+ ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedCollection<IssuedToken>("DatabaseModel.FK_IssuedToken_User", "IssuedTokens", value);
+ }
+ }
+ }
+ }
+ /// <summary>
+ /// There are no comments for DatabaseModel.Consumer in the schema.
+ /// </summary>
+ /// <KeyProperties>
+ /// ConsumerId
+ /// </KeyProperties>
+ [global::System.Data.Objects.DataClasses.EdmEntityTypeAttribute(NamespaceName="DatabaseModel", Name="Consumer")]
+ [global::System.Runtime.Serialization.DataContractAttribute(IsReference=true)]
+ [global::System.Serializable()]
+ public partial class Consumer : global::System.Data.Objects.DataClasses.EntityObject
+ {
+ /// <summary>
+ /// Create a new Consumer object.
+ /// </summary>
+ /// <param name="consumerKey">Initial value of ConsumerKey.</param>
+ /// <param name="verificationCodeLength">Initial value of VerificationCodeLength.</param>
+ /// <param name="consumerId">Initial value of ConsumerId.</param>
+ public static Consumer CreateConsumer(string consumerKey, int verificationCodeLength, int consumerId)
+ {
+ Consumer consumer = new Consumer();
+ consumer.ConsumerKey = consumerKey;
+ consumer.VerificationCodeLength = verificationCodeLength;
+ consumer.ConsumerId = consumerId;
+ return consumer;
+ }
+ /// <summary>
+ /// There are no comments for Property ConsumerKey in the schema.
+ /// </summary>
+ [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)]
+ [global::System.Runtime.Serialization.DataMemberAttribute()]
+ public string ConsumerKey
+ {
+ get
+ {
+ return this._ConsumerKey;
+ }
+ set
+ {
+ this.OnConsumerKeyChanging(value);
+ this.ReportPropertyChanging("ConsumerKey");
+ this._ConsumerKey = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, false);
+ this.ReportPropertyChanged("ConsumerKey");
+ this.OnConsumerKeyChanged();
+ }
+ }
+ private string _ConsumerKey;
+ partial void OnConsumerKeyChanging(string value);
+ partial void OnConsumerKeyChanged();
+ /// <summary>
+ /// There are no comments for Property ConsumerSecret in the schema.
+ /// </summary>
+ [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
+ [global::System.Runtime.Serialization.DataMemberAttribute()]
+ public string ConsumerSecret
+ {
+ get
+ {
+ return this._ConsumerSecret;
+ }
+ set
+ {
+ this.OnConsumerSecretChanging(value);
+ this.ReportPropertyChanging("ConsumerSecret");
+ this._ConsumerSecret = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
+ this.ReportPropertyChanged("ConsumerSecret");
+ this.OnConsumerSecretChanged();
+ }
+ }
+ private string _ConsumerSecret;
+ partial void OnConsumerSecretChanging(string value);
+ partial void OnConsumerSecretChanged();
+ /// <summary>
+ /// There are no comments for Property X509CertificateAsBinary in the schema.
+ /// </summary>
+ [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
+ [global::System.Runtime.Serialization.DataMemberAttribute()]
+ private byte[] X509CertificateAsBinary
+ {
+ get
+ {
+ return global::System.Data.Objects.DataClasses.StructuralObject.GetValidValue(this._X509CertificateAsBinary);
+ }
+ set
+ {
+ this.OnX509CertificateAsBinaryChanging(value);
+ this.ReportPropertyChanging("X509CertificateAsBinary");
+ this._X509CertificateAsBinary = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
+ this.ReportPropertyChanged("X509CertificateAsBinary");
+ this.OnX509CertificateAsBinaryChanged();
+ }
+ }
+ private byte[] _X509CertificateAsBinary;
+ partial void OnX509CertificateAsBinaryChanging(byte[] value);
+ partial void OnX509CertificateAsBinaryChanged();
+ /// <summary>
+ /// There are no comments for Property CallbackAsString in the schema.
+ /// </summary>
+ [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
+ [global::System.Runtime.Serialization.DataMemberAttribute()]
+ public string CallbackAsString
+ {
+ get
+ {
+ return this._CallbackAsString;
+ }
+ set
+ {
+ this.OnCallbackAsStringChanging(value);
+ this.ReportPropertyChanging("CallbackAsString");
+ this._CallbackAsString = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
+ this.ReportPropertyChanged("CallbackAsString");
+ this.OnCallbackAsStringChanged();
+ }
+ }
+ private string _CallbackAsString;
+ partial void OnCallbackAsStringChanging(string value);
+ partial void OnCallbackAsStringChanged();
+ /// <summary>
+ /// There are no comments for Property VerificationCodeFormatAsInt in the schema.
+ /// </summary>
+ [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)]
+ [global::System.Runtime.Serialization.DataMemberAttribute()]
+ private int VerificationCodeFormatAsInt
+ {
+ get
+ {
+ return this._VerificationCodeFormatAsInt;
+ }
+ set
+ {
+ this.OnVerificationCodeFormatAsIntChanging(value);
+ this.ReportPropertyChanging("VerificationCodeFormatAsInt");
+ this._VerificationCodeFormatAsInt = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
+ this.ReportPropertyChanged("VerificationCodeFormatAsInt");
+ this.OnVerificationCodeFormatAsIntChanged();
+ }
+ }
+ private int _VerificationCodeFormatAsInt;
+ partial void OnVerificationCodeFormatAsIntChanging(int value);
+ partial void OnVerificationCodeFormatAsIntChanged();
+ /// <summary>
+ /// There are no comments for Property VerificationCodeLength in the schema.
+ /// </summary>
+ [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)]
+ [global::System.Runtime.Serialization.DataMemberAttribute()]
+ public int VerificationCodeLength
+ {
+ get
+ {
+ return this._VerificationCodeLength;
+ }
+ set
+ {
+ this.OnVerificationCodeLengthChanging(value);
+ this.ReportPropertyChanging("VerificationCodeLength");
+ this._VerificationCodeLength = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
+ this.ReportPropertyChanged("VerificationCodeLength");
+ this.OnVerificationCodeLengthChanged();
+ }
+ }
+ private int _VerificationCodeLength;
+ partial void OnVerificationCodeLengthChanging(int value);
+ partial void OnVerificationCodeLengthChanged();
+ /// <summary>
+ /// There are no comments for Property ConsumerId in the schema.
+ /// </summary>
+ [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)]
+ [global::System.Runtime.Serialization.DataMemberAttribute()]
+ public int ConsumerId
+ {
+ get
+ {
+ return this._ConsumerId;
+ }
+ set
+ {
+ this.OnConsumerIdChanging(value);
+ this.ReportPropertyChanging("ConsumerId");
+ this._ConsumerId = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
+ this.ReportPropertyChanged("ConsumerId");
+ this.OnConsumerIdChanged();
+ }
+ }
+ private int _ConsumerId;
+ partial void OnConsumerIdChanging(int value);
+ partial void OnConsumerIdChanged();
+ /// <summary>
+ /// There are no comments for Property Name in the schema.
+ /// </summary>
+ [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
+ [global::System.Runtime.Serialization.DataMemberAttribute()]
+ public string Name
+ {
+ get
+ {
+ return this._Name;
+ }
+ set
+ {
+ this.OnNameChanging(value);
+ this.ReportPropertyChanging("Name");
+ this._Name = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
+ this.ReportPropertyChanged("Name");
+ this.OnNameChanged();
+ }
+ }
+ private string _Name;
+ partial void OnNameChanging(string value);
+ partial void OnNameChanged();
+ /// <summary>
+ /// There are no comments for IssuedToken in the schema.
+ /// </summary>
+ [global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("DatabaseModel", "FK_IssuedToken_Consumer", "IssuedTokens")]
+ [global::System.Xml.Serialization.XmlIgnoreAttribute()]
+ [global::System.Xml.Serialization.SoapIgnoreAttribute()]
+ [global::System.Runtime.Serialization.DataMemberAttribute()]
+ public global::System.Data.Objects.DataClasses.EntityCollection<IssuedToken> IssuedToken
+ {
+ get
+ {
+ return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedCollection<IssuedToken>("DatabaseModel.FK_IssuedToken_Consumer", "IssuedTokens");
+ }
+ set
+ {
+ if ((value != null))
+ {
+ ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedCollection<IssuedToken>("DatabaseModel.FK_IssuedToken_Consumer", "IssuedTokens", value);
+ }
+ }
+ }
+ }
+ /// <summary>
+ /// There are no comments for DatabaseModel.IssuedToken in the schema.
+ /// </summary>
+ /// <KeyProperties>
+ /// TokenId
+ /// </KeyProperties>
+ [global::System.Data.Objects.DataClasses.EdmEntityTypeAttribute(NamespaceName="DatabaseModel", Name="IssuedToken")]
+ [global::System.Runtime.Serialization.DataContractAttribute(IsReference=true)]
+ [global::System.Serializable()]
+ [global::System.Runtime.Serialization.KnownTypeAttribute(typeof(global::RelyingPartyLogic.IssuedRequestToken))]
+ [global::System.Runtime.Serialization.KnownTypeAttribute(typeof(global::RelyingPartyLogic.IssuedAccessToken))]
+ public abstract partial class IssuedToken : global::System.Data.Objects.DataClasses.EntityObject
+ {
+ /// <summary>
+ /// There are no comments for Property TokenId in the schema.
+ /// </summary>
+ [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)]
+ [global::System.Runtime.Serialization.DataMemberAttribute()]
+ public int TokenId
+ {
+ get
+ {
+ return this._TokenId;
+ }
+ set
+ {
+ this.OnTokenIdChanging(value);
+ this.ReportPropertyChanging("TokenId");
+ this._TokenId = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
+ this.ReportPropertyChanged("TokenId");
+ this.OnTokenIdChanged();
+ }
+ }
+ private int _TokenId;
+ partial void OnTokenIdChanging(int value);
+ partial void OnTokenIdChanged();
+ /// <summary>
+ /// There are no comments for Property Token in the schema.
+ /// </summary>
+ [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)]
+ [global::System.Runtime.Serialization.DataMemberAttribute()]
+ public string Token
+ {
+ get
+ {
+ return this._Token;
+ }
+ set
+ {
+ this.OnTokenChanging(value);
+ this.ReportPropertyChanging("Token");
+ this._Token = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, false);
+ this.ReportPropertyChanged("Token");
+ this.OnTokenChanged();
+ }
+ }
+ private string _Token;
+ partial void OnTokenChanging(string value);
+ partial void OnTokenChanged();
+ /// <summary>
+ /// There are no comments for Property TokenSecret in the schema.
+ /// </summary>
+ [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)]
+ [global::System.Runtime.Serialization.DataMemberAttribute()]
+ public string TokenSecret
+ {
+ get
+ {
+ return this._TokenSecret;
+ }
+ set
+ {
+ this.OnTokenSecretChanging(value);
+ this.ReportPropertyChanging("TokenSecret");
+ this._TokenSecret = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, false);
+ this.ReportPropertyChanged("TokenSecret");
+ this.OnTokenSecretChanged();
+ }
+ }
+ private string _TokenSecret;
+ partial void OnTokenSecretChanging(string value);
+ partial void OnTokenSecretChanged();
+ /// <summary>
+ /// There are no comments for Property CreatedOn in the schema.
+ /// </summary>
+ [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)]
+ [global::System.Runtime.Serialization.DataMemberAttribute()]
+ public global::System.DateTime CreatedOn
+ {
+ get
+ {
+ return this._CreatedOn;
+ }
+ set
+ {
+ this.OnCreatedOnChanging(value);
+ this.ReportPropertyChanging("CreatedOn");
+ this._CreatedOn = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
+ this.ReportPropertyChanged("CreatedOn");
+ this.OnCreatedOnChanged();
+ }
+ }
+ private global::System.DateTime _CreatedOn;
+ partial void OnCreatedOnChanging(global::System.DateTime value);
+ partial void OnCreatedOnChanged();
+ /// <summary>
+ /// There are no comments for Property Scope in the schema.
+ /// </summary>
+ [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
+ [global::System.Runtime.Serialization.DataMemberAttribute()]
+ public string Scope
+ {
+ get
+ {
+ return this._Scope;
+ }
+ set
+ {
+ this.OnScopeChanging(value);
+ this.ReportPropertyChanging("Scope");
+ this._Scope = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
+ this.ReportPropertyChanged("Scope");
+ this.OnScopeChanged();
+ }
+ }
+ private string _Scope;
+ partial void OnScopeChanging(string value);
+ partial void OnScopeChanged();
+ /// <summary>
+ /// There are no comments for Consumer in the schema.
+ /// </summary>
+ [global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("DatabaseModel", "FK_IssuedToken_Consumer", "Consumer")]
+ [global::System.Xml.Serialization.XmlIgnoreAttribute()]
+ [global::System.Xml.Serialization.SoapIgnoreAttribute()]
+ [global::System.Runtime.Serialization.DataMemberAttribute()]
+ public Consumer Consumer
+ {
+ get
+ {
+ return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Consumer>("DatabaseModel.FK_IssuedToken_Consumer", "Consumer").Value;
+ }
+ set
+ {
+ ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Consumer>("DatabaseModel.FK_IssuedToken_Consumer", "Consumer").Value = value;
+ }
+ }
+ /// <summary>
+ /// There are no comments for Consumer in the schema.
+ /// </summary>
+ [global::System.ComponentModel.BrowsableAttribute(false)]
+ [global::System.Runtime.Serialization.DataMemberAttribute()]
+ public global::System.Data.Objects.DataClasses.EntityReference<Consumer> ConsumerReference
+ {
+ get
+ {
+ return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Consumer>("DatabaseModel.FK_IssuedToken_Consumer", "Consumer");
+ }
+ set
+ {
+ if ((value != null))
+ {
+ ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedReference<Consumer>("DatabaseModel.FK_IssuedToken_Consumer", "Consumer", value);
+ }
+ }
+ }
+ /// <summary>
+ /// There are no comments for User in the schema.
+ /// </summary>
+ [global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("DatabaseModel", "FK_IssuedToken_User", "User")]
+ [global::System.Xml.Serialization.XmlIgnoreAttribute()]
+ [global::System.Xml.Serialization.SoapIgnoreAttribute()]
+ [global::System.Runtime.Serialization.DataMemberAttribute()]
+ public User User
+ {
+ get
+ {
+ return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<User>("DatabaseModel.FK_IssuedToken_User", "User").Value;
+ }
+ set
+ {
+ ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<User>("DatabaseModel.FK_IssuedToken_User", "User").Value = value;
+ }
+ }
+ /// <summary>
+ /// There are no comments for User in the schema.
+ /// </summary>
+ [global::System.ComponentModel.BrowsableAttribute(false)]
+ [global::System.Runtime.Serialization.DataMemberAttribute()]
+ public global::System.Data.Objects.DataClasses.EntityReference<User> UserReference
+ {
+ get
+ {
+ return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<User>("DatabaseModel.FK_IssuedToken_User", "User");
+ }
+ set
+ {
+ if ((value != null))
+ {
+ ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedReference<User>("DatabaseModel.FK_IssuedToken_User", "User", value);
+ }
+ }
+ }
+ }
+ /// <summary>
+ /// There are no comments for DatabaseModel.IssuedRequestToken in the schema.
+ /// </summary>
+ /// <KeyProperties>
+ /// TokenId
+ /// </KeyProperties>
+ [global::System.Data.Objects.DataClasses.EdmEntityTypeAttribute(NamespaceName="DatabaseModel", Name="IssuedRequestToken")]
+ [global::System.Runtime.Serialization.DataContractAttribute(IsReference=true)]
+ [global::System.Serializable()]
+ public partial class IssuedRequestToken : IssuedToken
+ {
+ /// <summary>
+ /// Create a new IssuedRequestToken object.
+ /// </summary>
+ /// <param name="tokenId">Initial value of TokenId.</param>
+ /// <param name="token">Initial value of Token.</param>
+ /// <param name="tokenSecret">Initial value of TokenSecret.</param>
+ /// <param name="createdOn">Initial value of CreatedOn.</param>
+ public static IssuedRequestToken CreateIssuedRequestToken(int tokenId, string token, string tokenSecret, global::System.DateTime createdOn)
+ {
+ IssuedRequestToken issuedRequestToken = new IssuedRequestToken();
+ issuedRequestToken.TokenId = tokenId;
+ issuedRequestToken.Token = token;
+ issuedRequestToken.TokenSecret = tokenSecret;
+ issuedRequestToken.CreatedOn = createdOn;
+ return issuedRequestToken;
+ }
+ /// <summary>
+ /// There are no comments for Property ConsumerVersionAsString in the schema.
+ /// </summary>
+ [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)]
+ [global::System.Runtime.Serialization.DataMemberAttribute()]
+ private string ConsumerVersionAsString
+ {
+ get
+ {
+ return this._ConsumerVersionAsString;
+ }
+ set
+ {
+ this.OnConsumerVersionAsStringChanging(value);
+ this.ReportPropertyChanging("ConsumerVersionAsString");
+ this._ConsumerVersionAsString = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, false);
+ this.ReportPropertyChanged("ConsumerVersionAsString");
+ this.OnConsumerVersionAsStringChanged();
+ }
+ }
+ private string _ConsumerVersionAsString;
+ partial void OnConsumerVersionAsStringChanging(string value);
+ partial void OnConsumerVersionAsStringChanged();
+ /// <summary>
+ /// There are no comments for Property VerificationCode in the schema.
+ /// </summary>
+ [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
+ [global::System.Runtime.Serialization.DataMemberAttribute()]
+ public string VerificationCode
+ {
+ get
+ {
+ return this._VerificationCode;
+ }
+ set
+ {
+ this.OnVerificationCodeChanging(value);
+ this.ReportPropertyChanging("VerificationCode");
+ this._VerificationCode = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
+ this.ReportPropertyChanged("VerificationCode");
+ this.OnVerificationCodeChanged();
+ }
+ }
+ private string _VerificationCode;
+ partial void OnVerificationCodeChanging(string value);
+ partial void OnVerificationCodeChanged();
+ /// <summary>
+ /// There are no comments for Property CallbackAsString in the schema.
+ /// </summary>
+ [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
+ [global::System.Runtime.Serialization.DataMemberAttribute()]
+ private string CallbackAsString
+ {
+ get
+ {
+ return this._CallbackAsString;
+ }
+ set
+ {
+ this.OnCallbackAsStringChanging(value);
+ this.ReportPropertyChanging("CallbackAsString");
+ this._CallbackAsString = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
+ this.ReportPropertyChanged("CallbackAsString");
+ this.OnCallbackAsStringChanged();
+ }
+ }
+ private string _CallbackAsString;
+ partial void OnCallbackAsStringChanging(string value);
+ partial void OnCallbackAsStringChanged();
+ }
+ /// <summary>
+ /// There are no comments for DatabaseModel.IssuedAccessToken in the schema.
+ /// </summary>
+ /// <KeyProperties>
+ /// TokenId
+ /// </KeyProperties>
+ [global::System.Data.Objects.DataClasses.EdmEntityTypeAttribute(NamespaceName="DatabaseModel", Name="IssuedAccessToken")]
+ [global::System.Runtime.Serialization.DataContractAttribute(IsReference=true)]
+ [global::System.Serializable()]
+ public partial class IssuedAccessToken : IssuedToken
+ {
+ /// <summary>
+ /// Create a new IssuedAccessToken object.
+ /// </summary>
+ /// <param name="tokenId">Initial value of TokenId.</param>
+ /// <param name="token">Initial value of Token.</param>
+ /// <param name="tokenSecret">Initial value of TokenSecret.</param>
+ /// <param name="createdOn">Initial value of CreatedOn.</param>
+ public static IssuedAccessToken CreateIssuedAccessToken(int tokenId, string token, string tokenSecret, global::System.DateTime createdOn)
+ {
+ IssuedAccessToken issuedAccessToken = new IssuedAccessToken();
+ issuedAccessToken.TokenId = tokenId;
+ issuedAccessToken.Token = token;
+ issuedAccessToken.TokenSecret = tokenSecret;
+ issuedAccessToken.CreatedOn = createdOn;
+ return issuedAccessToken;
+ }
+ /// <summary>
+ /// There are no comments for Property ExpirationDate in the schema.
+ /// </summary>
+ [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
+ [global::System.Runtime.Serialization.DataMemberAttribute()]
+ public global::System.Nullable<global::System.DateTime> ExpirationDate
+ {
+ get
+ {
+ return this._ExpirationDate;
+ }
+ set
+ {
+ this.OnExpirationDateChanging(value);
+ this.ReportPropertyChanging("ExpirationDate");
+ this._ExpirationDate = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
+ this.ReportPropertyChanged("ExpirationDate");
+ this.OnExpirationDateChanged();
+ }
+ }
+ private global::System.Nullable<global::System.DateTime> _ExpirationDate;
+ partial void OnExpirationDateChanging(global::System.Nullable<global::System.DateTime> value);
+ partial void OnExpirationDateChanged();
+ }
+}