This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| > Thank you for reaching out to Autonomous! I am sorry to hear that you are having some trouble with your SmartDesk | |
| > but I will be glad to assist. It sounds like your system needs a "hard reset" can I please have you follow these | |
| > steps thoroughly. | |
| Reset Steps: | |
| 1. Unplug the desk for 20 seconds. Plug it back in. Wait a full 20 seconds. | |
| 2. Press the up and down buttons until the desk lowers all the way and beeps or 20 seconds pass. | |
| 3. Release both buttons. | |
| 4. Press the down buttons until the desk beeps one more time or 20 seconds pass. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System.Collections.Generic; | |
| using System.Data.Entity.Core.Metadata.Edm; | |
| using System.Data.Entity.Infrastructure; | |
| using System.Data.Entity.ModelConfiguration.Conventions; | |
| namespace EFTest.Entities.Conventions | |
| { | |
| public class RemoveUnderscoreForeignKeyNamingConvention : IStoreModelConvention<AssociationType> | |
| { | |
| public void Apply(AssociationType item, DbModel model) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class ElasticTableEntity : DynamicObject, ITableEntity, | |
| ICustomMemberProvider // For LinqPad's Dump | |
| { | |
| public ElasticTableEntity() | |
| { | |
| this.Properties = new Dictionary<string, EntityProperty>(); | |
| } | |
| public IDictionary<string, EntityProperty> Properties { get; private set; } | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Original version by Stephen Toub and Shawn Farkas. | |
| * Random pool and thread safety added by Markus Olsson (freakcode.com). | |
| * | |
| * Original source: http://msdn.microsoft.com/en-us/magazine/cc163367.aspx | |
| * | |
| * Some benchmarks (2009-03-18): | |
| * | |
| * Results produced by calling Next() 1 000 000 times on my machine (dual core 3Ghz) | |
| * |