diff options
Diffstat (limited to 'samples/OpenIdProviderWebForms/Code/CustomStoreDataSet.Designer.cs')
-rw-r--r-- | samples/OpenIdProviderWebForms/Code/CustomStoreDataSet.Designer.cs | 37 |
1 files changed, 31 insertions, 6 deletions
diff --git a/samples/OpenIdProviderWebForms/Code/CustomStoreDataSet.Designer.cs b/samples/OpenIdProviderWebForms/Code/CustomStoreDataSet.Designer.cs index 4870172..d836261 100644 --- a/samples/OpenIdProviderWebForms/Code/CustomStoreDataSet.Designer.cs +++ b/samples/OpenIdProviderWebForms/Code/CustomStoreDataSet.Designer.cs @@ -570,6 +570,8 @@ namespace OpenIdProviderWebForms.Code { [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] public partial class NonceDataTable : global::System.Data.TypedTableBase<NonceRow> { + private global::System.Data.DataColumn columnContext; + private global::System.Data.DataColumn columnCode; private global::System.Data.DataColumn columnIssued; @@ -607,6 +609,13 @@ namespace OpenIdProviderWebForms.Code { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public global::System.Data.DataColumn ContextColumn { + get { + return this.columnContext; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn CodeColumn { get { return this.columnCode; @@ -656,9 +665,10 @@ namespace OpenIdProviderWebForms.Code { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public NonceRow AddNonceRow(string Code, System.DateTime Issued, System.DateTime Expires) { + public NonceRow AddNonceRow(string Context, string Code, System.DateTime Issued, System.DateTime Expires) { NonceRow rowNonceRow = ((NonceRow)(this.NewRow())); object[] columnValuesArray = new object[] { + Context, Code, Issued, Expires}; @@ -668,9 +678,10 @@ namespace OpenIdProviderWebForms.Code { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - public NonceRow FindByCode(string Code) { + public NonceRow FindByCodeContext(string Code, string Context) { return ((NonceRow)(this.Rows.Find(new object[] { - Code}))); + Code, + Context}))); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -687,6 +698,7 @@ namespace OpenIdProviderWebForms.Code { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal void InitVars() { + this.columnContext = base.Columns["Context"]; this.columnCode = base.Columns["Code"]; this.columnIssued = base.Columns["Issued"]; this.columnExpires = base.Columns["Expires"]; @@ -694,16 +706,19 @@ namespace OpenIdProviderWebForms.Code { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitClass() { + this.columnContext = new global::System.Data.DataColumn("Context", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnContext); this.columnCode = new global::System.Data.DataColumn("Code", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnCode); this.columnIssued = new global::System.Data.DataColumn("Issued", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnIssued); this.columnExpires = new global::System.Data.DataColumn("Expires", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnExpires); - this.Constraints.Add(new global::System.Data.UniqueConstraint("PrimaryKey", new global::System.Data.DataColumn[] { - this.columnCode}, true)); + this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { + this.columnCode, + this.columnContext}, true)); + this.columnContext.AllowDBNull = false; this.columnCode.AllowDBNull = false; - this.columnCode.Unique = true; this.columnIssued.AllowDBNull = false; this.columnExpires.AllowDBNull = false; } @@ -893,6 +908,16 @@ namespace OpenIdProviderWebForms.Code { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + public string Context { + get { + return ((string)(this[this.tableNonce.ContextColumn])); + } + set { + this[this.tableNonce.ContextColumn] = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public string Code { get { return ((string)(this[this.tableNonce.CodeColumn])); |