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
-- The index being NONCLUSTERED is by design. The intent is that when | |
-- a grain is added to the Storage, deletting it, or setting it to "NULL" | |
-- in application code will only SET NULL to the Payload fields. This | |
-- should prevent alleviate need for index or statistics maintenance | |
-- with the loss of some bytes of storage space. Naturally the DB | |
-- can be scrubbed with a separate maintenance operation. | |
-- | |
-- This design should be fast on lower number of rows, but scale | |
-- quite well even to the largest reasonable table sizes. |
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
/// <summary> | |
/// A set of records. | |
/// </summary> | |
/// <typeparam name="TKey">The key type of records.</typeparam> | |
/// <typeparam name="TValue">The value type of records.</typeparam> | |
[Serializable] | |
[DebuggerTypeProxy(typeof(CollectionDebugView<>))] | |
[DebuggerDisplay("Count = {Count}")] | |
public class RecordSet<TKey, TValue>: ICollection<KeyValuePair<TKey, TValue>> | |
{ |
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
/// <summary> | |
/// An interface to query system information. | |
/// </summary> | |
/// <remarks> | |
/// The system WMI tables are listed at <see href="https://msdn.microsoft.com/en-us/library/bg126473(v=vs.85).aspx">WMI/MI/OMI Providers</see> | |
/// Programmatically the tables can be queries like | |
/// <code> | |
/// var wmiSearcher = new ManagementObjectSearcher("SELECT * FROM meta_class WHERE __CLASS LIKE 'Win32_%'"); | |
/// foreach(var obj in wmiSearcher.Get()) Console.WriteLine(obj["__CLASS"]); | |
/// </code> |
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
namespace OrleansHostingUtilities | |
open System | |
open Orleans.Runtime.Configuration | |
open Orleans.Runtime | |
open System.Reflection | |
open System.Globalization | |
open System.Threading | |
open System.Net |