diff options
Diffstat (limited to 'samples/OpenIdProviderWebForms/Code/CustomStoreDataSet.Designer.cs')
-rw-r--r-- | samples/OpenIdProviderWebForms/Code/CustomStoreDataSet.Designer.cs | 245 |
1 files changed, 125 insertions, 120 deletions
diff --git a/samples/OpenIdProviderWebForms/Code/CustomStoreDataSet.Designer.cs b/samples/OpenIdProviderWebForms/Code/CustomStoreDataSet.Designer.cs index a781018..19ac88f 100644 --- a/samples/OpenIdProviderWebForms/Code/CustomStoreDataSet.Designer.cs +++ b/samples/OpenIdProviderWebForms/Code/CustomStoreDataSet.Designer.cs @@ -24,7 +24,7 @@ namespace OpenIdProviderWebForms.Code { [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")] public partial class CustomStoreDataSet : global::System.Data.DataSet { - private AssociationDataTable tableAssociation; + private CryptoKeyDataTable tableCryptoKey; private NonceDataTable tableNonce; @@ -56,8 +56,8 @@ namespace OpenIdProviderWebForms.Code { if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) { global::System.Data.DataSet ds = new global::System.Data.DataSet(); ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema))); - if ((ds.Tables["Association"] != null)) { - base.Tables.Add(new AssociationDataTable(ds.Tables["Association"])); + if ((ds.Tables["CryptoKey"] != null)) { + base.Tables.Add(new CryptoKeyDataTable(ds.Tables["CryptoKey"])); } if ((ds.Tables["Nonce"] != null)) { base.Tables.Add(new NonceDataTable(ds.Tables["Nonce"])); @@ -84,9 +84,9 @@ namespace OpenIdProviderWebForms.Code { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] - public AssociationDataTable Association { + public CryptoKeyDataTable CryptoKey { get { - return this.tableAssociation; + return this.tableCryptoKey; } } @@ -167,8 +167,8 @@ namespace OpenIdProviderWebForms.Code { this.Reset(); global::System.Data.DataSet ds = new global::System.Data.DataSet(); ds.ReadXml(reader); - if ((ds.Tables["Association"] != null)) { - base.Tables.Add(new AssociationDataTable(ds.Tables["Association"])); + if ((ds.Tables["CryptoKey"] != null)) { + base.Tables.Add(new CryptoKeyDataTable(ds.Tables["CryptoKey"])); } if ((ds.Tables["Nonce"] != null)) { base.Tables.Add(new NonceDataTable(ds.Tables["Nonce"])); @@ -206,10 +206,10 @@ namespace OpenIdProviderWebForms.Code { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal void InitVars(bool initTable) { - this.tableAssociation = ((AssociationDataTable)(base.Tables["Association"])); + this.tableCryptoKey = ((CryptoKeyDataTable)(base.Tables["CryptoKey"])); if ((initTable == true)) { - if ((this.tableAssociation != null)) { - this.tableAssociation.InitVars(); + if ((this.tableCryptoKey != null)) { + this.tableCryptoKey.InitVars(); } } this.tableNonce = ((NonceDataTable)(base.Tables["Nonce"])); @@ -228,15 +228,15 @@ namespace OpenIdProviderWebForms.Code { this.Namespace = "http://tempuri.org/CustomStoreDataSet.xsd"; this.EnforceConstraints = true; this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; - this.tableAssociation = new AssociationDataTable(); - base.Tables.Add(this.tableAssociation); + this.tableCryptoKey = new CryptoKeyDataTable(); + base.Tables.Add(this.tableCryptoKey); this.tableNonce = new NonceDataTable(); base.Tables.Add(this.tableNonce); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - private bool ShouldSerializeAssociation() { + private bool ShouldSerializeCryptoKey() { return false; } @@ -302,7 +302,7 @@ namespace OpenIdProviderWebForms.Code { } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public delegate void AssociationRowChangeEventHandler(object sender, AssociationRowChangeEvent e); + public delegate void CryptoKeyRowChangeEventHandler(object sender, CryptoKeyRowChangeEvent e); [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public delegate void NonceRowChangeEventHandler(object sender, NonceRowChangeEvent e); @@ -312,20 +312,20 @@ namespace OpenIdProviderWebForms.Code { ///</summary> [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] - public partial class AssociationDataTable : global::System.Data.TypedTableBase<AssociationRow> { + public partial class CryptoKeyDataTable : global::System.Data.TypedTableBase<CryptoKeyRow> { - private global::System.Data.DataColumn columnIsPrivateAssociation; + private global::System.Data.DataColumn columnBucket; private global::System.Data.DataColumn columnHandle; - private global::System.Data.DataColumn columnExpires; + private global::System.Data.DataColumn columnExpiresUtc; - private global::System.Data.DataColumn columnPrivateData; + private global::System.Data.DataColumn columnSecret; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public AssociationDataTable() { - this.TableName = "Association"; + public CryptoKeyDataTable() { + this.TableName = "CryptoKey"; this.BeginInit(); this.InitClass(); this.EndInit(); @@ -333,7 +333,7 @@ namespace OpenIdProviderWebForms.Code { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal AssociationDataTable(global::System.Data.DataTable table) { + internal CryptoKeyDataTable(global::System.Data.DataTable table) { this.TableName = table.TableName; if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { this.CaseSensitive = table.CaseSensitive; @@ -350,16 +350,16 @@ namespace OpenIdProviderWebForms.Code { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - protected AssociationDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : + protected CryptoKeyDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : base(info, context) { this.InitVars(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn IsPrivateAssociationColumn { + public global::System.Data.DataColumn BucketColumn { get { - return this.columnIsPrivateAssociation; + return this.columnBucket; } } @@ -373,17 +373,17 @@ namespace OpenIdProviderWebForms.Code { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn ExpiresColumn { + public global::System.Data.DataColumn ExpiresUtcColumn { get { - return this.columnExpires; + return this.columnExpiresUtc; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn PrivateDataColumn { + public global::System.Data.DataColumn SecretColumn { get { - return this.columnPrivateData; + return this.columnSecret; } } @@ -398,56 +398,56 @@ namespace OpenIdProviderWebForms.Code { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public AssociationRow this[int index] { + public CryptoKeyRow this[int index] { get { - return ((AssociationRow)(this.Rows[index])); + return ((CryptoKeyRow)(this.Rows[index])); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event AssociationRowChangeEventHandler AssociationRowChanging; + public event CryptoKeyRowChangeEventHandler CryptoKeyRowChanging; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event AssociationRowChangeEventHandler AssociationRowChanged; + public event CryptoKeyRowChangeEventHandler CryptoKeyRowChanged; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event AssociationRowChangeEventHandler AssociationRowDeleting; + public event CryptoKeyRowChangeEventHandler CryptoKeyRowDeleting; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public event AssociationRowChangeEventHandler AssociationRowDeleted; + public event CryptoKeyRowChangeEventHandler CryptoKeyRowDeleted; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void AddAssociationRow(AssociationRow row) { + public void AddCryptoKeyRow(CryptoKeyRow row) { this.Rows.Add(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public AssociationRow AddAssociationRow(bool IsPrivateAssociation, string Handle, System.DateTime Expires, byte[] PrivateData) { - AssociationRow rowAssociationRow = ((AssociationRow)(this.NewRow())); + public CryptoKeyRow AddCryptoKeyRow(string Bucket, string Handle, System.DateTime ExpiresUtc, byte[] Secret) { + CryptoKeyRow rowCryptoKeyRow = ((CryptoKeyRow)(this.NewRow())); object[] columnValuesArray = new object[] { - IsPrivateAssociation, + Bucket, Handle, - Expires, - PrivateData}; - rowAssociationRow.ItemArray = columnValuesArray; - this.Rows.Add(rowAssociationRow); - return rowAssociationRow; + ExpiresUtc, + Secret}; + rowCryptoKeyRow.ItemArray = columnValuesArray; + this.Rows.Add(rowCryptoKeyRow); + return rowCryptoKeyRow; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public AssociationRow FindByIsPrivateAssociationHandle(bool IsPrivateAssociation, string Handle) { - return ((AssociationRow)(this.Rows.Find(new object[] { - IsPrivateAssociation, + public CryptoKeyRow FindByBucketHandle(string Bucket, string Handle) { + return ((CryptoKeyRow)(this.Rows.Find(new object[] { + Bucket, Handle}))); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public override global::System.Data.DataTable Clone() { - AssociationDataTable cln = ((AssociationDataTable)(base.Clone())); + CryptoKeyDataTable cln = ((CryptoKeyDataTable)(base.Clone())); cln.InitVars(); return cln; } @@ -455,62 +455,65 @@ namespace OpenIdProviderWebForms.Code { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override global::System.Data.DataTable CreateInstance() { - return new AssociationDataTable(); + return new CryptoKeyDataTable(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal void InitVars() { - this.columnIsPrivateAssociation = base.Columns["IsPrivateAssociation"]; + this.columnBucket = base.Columns["Bucket"]; this.columnHandle = base.Columns["Handle"]; - this.columnExpires = base.Columns["Expires"]; - this.columnPrivateData = base.Columns["PrivateData"]; + this.columnExpiresUtc = base.Columns["ExpiresUtc"]; + this.columnSecret = base.Columns["Secret"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private void InitClass() { - this.columnIsPrivateAssociation = new global::System.Data.DataColumn("IsPrivateAssociation", typeof(bool), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnIsPrivateAssociation); + this.columnBucket = new global::System.Data.DataColumn("Bucket", typeof(string), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnBucket); this.columnHandle = new global::System.Data.DataColumn("Handle", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnHandle); - this.columnExpires = new global::System.Data.DataColumn("Expires", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnExpires); - this.columnPrivateData = new global::System.Data.DataColumn("PrivateData", typeof(byte[]), null, global::System.Data.MappingType.Element); - base.Columns.Add(this.columnPrivateData); + this.columnExpiresUtc = new global::System.Data.DataColumn("ExpiresUtc", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnExpiresUtc); + this.columnSecret = new global::System.Data.DataColumn("Secret", typeof(byte[]), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnSecret); this.Constraints.Add(new global::System.Data.UniqueConstraint("PrimaryKey", new global::System.Data.DataColumn[] { - this.columnIsPrivateAssociation, + this.columnBucket, this.columnHandle}, true)); - this.columnIsPrivateAssociation.AllowDBNull = false; + this.columnBucket.AllowDBNull = false; + this.columnBucket.ReadOnly = true; this.columnHandle.AllowDBNull = false; - this.columnExpires.AllowDBNull = false; - this.columnPrivateData.AllowDBNull = false; + this.columnHandle.ReadOnly = true; + this.columnExpiresUtc.AllowDBNull = false; + this.columnExpiresUtc.DateTimeMode = global::System.Data.DataSetDateTime.Utc; + this.columnSecret.AllowDBNull = false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public AssociationRow NewAssociationRow() { - return ((AssociationRow)(this.NewRow())); + public CryptoKeyRow NewCryptoKeyRow() { + return ((CryptoKeyRow)(this.NewRow())); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { - return new AssociationRow(builder); + return new CryptoKeyRow(builder); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override global::System.Type GetRowType() { - return typeof(AssociationRow); + return typeof(CryptoKeyRow); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanged(e); - if ((this.AssociationRowChanged != null)) { - this.AssociationRowChanged(this, new AssociationRowChangeEvent(((AssociationRow)(e.Row)), e.Action)); + if ((this.CryptoKeyRowChanged != null)) { + this.CryptoKeyRowChanged(this, new CryptoKeyRowChangeEvent(((CryptoKeyRow)(e.Row)), e.Action)); } } @@ -518,8 +521,8 @@ namespace OpenIdProviderWebForms.Code { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanging(e); - if ((this.AssociationRowChanging != null)) { - this.AssociationRowChanging(this, new AssociationRowChangeEvent(((AssociationRow)(e.Row)), e.Action)); + if ((this.CryptoKeyRowChanging != null)) { + this.CryptoKeyRowChanging(this, new CryptoKeyRowChangeEvent(((CryptoKeyRow)(e.Row)), e.Action)); } } @@ -527,8 +530,8 @@ namespace OpenIdProviderWebForms.Code { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleted(e); - if ((this.AssociationRowDeleted != null)) { - this.AssociationRowDeleted(this, new AssociationRowChangeEvent(((AssociationRow)(e.Row)), e.Action)); + if ((this.CryptoKeyRowDeleted != null)) { + this.CryptoKeyRowDeleted(this, new CryptoKeyRowChangeEvent(((CryptoKeyRow)(e.Row)), e.Action)); } } @@ -536,14 +539,14 @@ namespace OpenIdProviderWebForms.Code { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleting(e); - if ((this.AssociationRowDeleting != null)) { - this.AssociationRowDeleting(this, new AssociationRowChangeEvent(((AssociationRow)(e.Row)), e.Action)); + if ((this.CryptoKeyRowDeleting != null)) { + this.CryptoKeyRowDeleting(this, new CryptoKeyRowChangeEvent(((CryptoKeyRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public void RemoveAssociationRow(AssociationRow row) { + public void RemoveCryptoKeyRow(CryptoKeyRow row) { this.Rows.Remove(row); } @@ -570,7 +573,7 @@ namespace OpenIdProviderWebForms.Code { type.Attributes.Add(attribute1); global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); attribute2.Name = "tableTypeName"; - attribute2.FixedValue = "AssociationDataTable"; + attribute2.FixedValue = "CryptoKeyDataTable"; type.Attributes.Add(attribute2); type.Particle = sequence; global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); @@ -622,9 +625,9 @@ namespace OpenIdProviderWebForms.Code { private global::System.Data.DataColumn columnCode; - private global::System.Data.DataColumn columnIssued; + private global::System.Data.DataColumn columnIssuedUtc; - private global::System.Data.DataColumn columnExpires; + private global::System.Data.DataColumn columnExpiresUtc; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] @@ -677,17 +680,17 @@ namespace OpenIdProviderWebForms.Code { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn IssuedColumn { + public global::System.Data.DataColumn IssuedUtcColumn { get { - return this.columnIssued; + return this.columnIssuedUtc; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public global::System.Data.DataColumn ExpiresColumn { + public global::System.Data.DataColumn ExpiresUtcColumn { get { - return this.columnExpires; + return this.columnExpiresUtc; } } @@ -728,13 +731,13 @@ namespace OpenIdProviderWebForms.Code { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public NonceRow AddNonceRow(string Context, string Code, System.DateTime Issued, System.DateTime Expires) { + public NonceRow AddNonceRow(string Context, string Code, System.DateTime IssuedUtc, System.DateTime ExpiresUtc) { NonceRow rowNonceRow = ((NonceRow)(this.NewRow())); object[] columnValuesArray = new object[] { Context, Code, - Issued, - Expires}; + IssuedUtc, + ExpiresUtc}; rowNonceRow.ItemArray = columnValuesArray; this.Rows.Add(rowNonceRow); return rowNonceRow; @@ -742,9 +745,9 @@ namespace OpenIdProviderWebForms.Code { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public NonceRow FindByIssuedCodeContext(System.DateTime Issued, string Code, string Context) { + public NonceRow FindByIssuedUtcCodeContext(System.DateTime IssuedUtc, string Code, string Context) { return ((NonceRow)(this.Rows.Find(new object[] { - Issued, + IssuedUtc, Code, Context}))); } @@ -768,8 +771,8 @@ namespace OpenIdProviderWebForms.Code { internal void InitVars() { this.columnContext = base.Columns["Context"]; this.columnCode = base.Columns["Code"]; - this.columnIssued = base.Columns["Issued"]; - this.columnExpires = base.Columns["Expires"]; + this.columnIssuedUtc = base.Columns["IssuedUtc"]; + this.columnExpiresUtc = base.Columns["ExpiresUtc"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -779,18 +782,20 @@ namespace OpenIdProviderWebForms.Code { 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.columnIssuedUtc = new global::System.Data.DataColumn("IssuedUtc", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnIssuedUtc); + this.columnExpiresUtc = new global::System.Data.DataColumn("ExpiresUtc", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); + base.Columns.Add(this.columnExpiresUtc); this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { - this.columnIssued, + this.columnIssuedUtc, this.columnCode, this.columnContext}, true)); this.columnContext.AllowDBNull = false; this.columnCode.AllowDBNull = false; - this.columnIssued.AllowDBNull = false; - this.columnExpires.AllowDBNull = false; + this.columnIssuedUtc.AllowDBNull = false; + this.columnIssuedUtc.DateTimeMode = global::System.Data.DataSetDateTime.Utc; + this.columnExpiresUtc.AllowDBNull = false; + this.columnExpiresUtc.DateTimeMode = global::System.Data.DataSetDateTime.Utc; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] @@ -920,25 +925,25 @@ namespace OpenIdProviderWebForms.Code { /// <summary> ///Represents strongly named DataRow class. ///</summary> - public partial class AssociationRow : global::System.Data.DataRow { + public partial class CryptoKeyRow : global::System.Data.DataRow { - private AssociationDataTable tableAssociation; + private CryptoKeyDataTable tableCryptoKey; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - internal AssociationRow(global::System.Data.DataRowBuilder rb) : + internal CryptoKeyRow(global::System.Data.DataRowBuilder rb) : base(rb) { - this.tableAssociation = ((AssociationDataTable)(this.Table)); + this.tableCryptoKey = ((CryptoKeyDataTable)(this.Table)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public bool IsPrivateAssociation { + public string Bucket { get { - return ((bool)(this[this.tableAssociation.IsPrivateAssociationColumn])); + return ((string)(this[this.tableCryptoKey.BucketColumn])); } set { - this[this.tableAssociation.IsPrivateAssociationColumn] = value; + this[this.tableCryptoKey.BucketColumn] = value; } } @@ -946,32 +951,32 @@ namespace OpenIdProviderWebForms.Code { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string Handle { get { - return ((string)(this[this.tableAssociation.HandleColumn])); + return ((string)(this[this.tableCryptoKey.HandleColumn])); } set { - this[this.tableAssociation.HandleColumn] = value; + this[this.tableCryptoKey.HandleColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public System.DateTime Expires { + public System.DateTime ExpiresUtc { get { - return ((global::System.DateTime)(this[this.tableAssociation.ExpiresColumn])); + return ((global::System.DateTime)(this[this.tableCryptoKey.ExpiresUtcColumn])); } set { - this[this.tableAssociation.ExpiresColumn] = value; + this[this.tableCryptoKey.ExpiresUtcColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public byte[] PrivateData { + public byte[] Secret { get { - return ((byte[])(this[this.tableAssociation.PrivateDataColumn])); + return ((byte[])(this[this.tableCryptoKey.SecretColumn])); } set { - this[this.tableAssociation.PrivateDataColumn] = value; + this[this.tableCryptoKey.SecretColumn] = value; } } } @@ -1014,23 +1019,23 @@ namespace OpenIdProviderWebForms.Code { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public System.DateTime Issued { + public System.DateTime IssuedUtc { get { - return ((global::System.DateTime)(this[this.tableNonce.IssuedColumn])); + return ((global::System.DateTime)(this[this.tableNonce.IssuedUtcColumn])); } set { - this[this.tableNonce.IssuedColumn] = value; + this[this.tableNonce.IssuedUtcColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public System.DateTime Expires { + public System.DateTime ExpiresUtc { get { - return ((global::System.DateTime)(this[this.tableNonce.ExpiresColumn])); + return ((global::System.DateTime)(this[this.tableNonce.ExpiresUtcColumn])); } set { - this[this.tableNonce.ExpiresColumn] = value; + this[this.tableNonce.ExpiresUtcColumn] = value; } } } @@ -1039,22 +1044,22 @@ namespace OpenIdProviderWebForms.Code { ///Row event argument class ///</summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public class AssociationRowChangeEvent : global::System.EventArgs { + public class CryptoKeyRowChangeEvent : global::System.EventArgs { - private AssociationRow eventRow; + private CryptoKeyRow eventRow; private global::System.Data.DataRowAction eventAction; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public AssociationRowChangeEvent(AssociationRow row, global::System.Data.DataRowAction action) { + public CryptoKeyRowChangeEvent(CryptoKeyRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] - public AssociationRow Row { + public CryptoKeyRow Row { get { return this.eventRow; } |