本文整理汇总了C#中IConfiguration.GenerateCommitTimestamps方法的典型用法代码示例。如果您正苦于以下问题:C# IConfiguration.GenerateCommitTimestamps方法的具体用法?C# IConfiguration.GenerateCommitTimestamps怎么用?C# IConfiguration.GenerateCommitTimestamps使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类IConfiguration
的用法示例。
在下文中一共展示了IConfiguration.GenerateCommitTimestamps方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Configure
protected override void Configure(IConfiguration config)
{
IObjectClass objectClass = config.ObjectClass(typeof(SimpleTimeStampIdTestCase.STSItem
));
objectClass.GenerateUUIDs(true);
config.GenerateCommitTimestamps(true);
}
示例2: Configure
/// <exception cref="System.Exception"></exception>
protected override void Configure(IConfiguration config)
{
config.GenerateUUIDs(ConfigScope.Globally);
config.GenerateCommitTimestamps(true);
config.ObjectClass(typeof (Item)).ObjectField("name").Indexed
(true);
}
示例3: Configure
protected override void Configure(IConfiguration config)
{
var objectClass = config.ObjectClass(typeof (STSItem
));
objectClass.GenerateUUIDs(true);
config.GenerateCommitTimestamps(true);
}
示例4: ConfigureForStore8_0AndNewer
protected virtual void ConfigureForStore8_0AndNewer(IConfiguration config)
{
config.GenerateCommitTimestamps(true);
}
示例5: Configure
/// <exception cref="System.Exception"></exception>
protected override void Configure(IConfiguration config)
{
config.GenerateCommitTimestamps(true);
}
示例6: Apply
public void Apply(IConfiguration config)
{
config.DetectSchemaChanges(false);
config.GenerateCommitTimestamps(true);
}
示例7: Configure
/// <exception cref="System.Exception"></exception>
protected override void Configure(IConfiguration config)
{
config.GenerateCommitTimestamps(true);
config.Storage = new MemoryStorage();
}
示例8: Configure
protected override void Configure(IConfiguration config)
{
config.GenerateUUIDs(ConfigScope.Globally);
config.GenerateCommitTimestamps(true);
}