本文整理汇总了C#中Storage.CreateLink方法的典型用法代码示例。如果您正苦于以下问题:C# Storage.CreateLink方法的具体用法?C# Storage.CreateLink怎么用?C# Storage.CreateLink使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Storage
的用法示例。
在下文中一共展示了Storage.CreateLink方法的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: RtreeRnPage
internal RtreeRnPage(Storage storage, object obj, RectangleRn r)
{
branch = storage.CreateLink(card);
branch.Length = card;
b = new RectangleRn[card];
setBranch(0, new RectangleRn(r), obj);
n = 1;
}
示例2: RtreePage
internal RtreePage(Storage storage, object obj, Rectangle r)
{
branch = storage.CreateLink(card);
branch.Length = card;
b = new Rectangle[card];
setBranch(0, new Rectangle(r), obj);
n = 1;
for (int i = 1; i < card; i++)
{
b[i] = new Rectangle();
}
}
示例3: RtreePage
internal RtreePage(Storage storage, IPersistent obj, Rectangle r)
{
branch = storage.CreateLink(card);
branch.Size = card;
b = new Rectangle[card];
SetBranch(0, new Rectangle(r), obj);
n = 1;
for (int i = 1; i < card; i++)
{
b[i] = new Rectangle();
}
}
示例4: RtreeR2Page
internal RtreeR2Page(Storage storage, RtreeR2Page root, RtreeR2Page p)
{
branch = storage.CreateLink(card);
branch.Size = card;
b = new RectangleR2[card];
n = 2;
SetBranch(0, root.Cover(), root);
SetBranch(1, p.Cover(), p);
for (int i = 2; i < card; i++)
{
b[i] = new RectangleR2();
}
}
示例5: OO7_AtomicPartImpl
public OO7_AtomicPartImpl(Storage storage)
{
theToConnections = storage.CreateLink();
theFromConnections = storage.CreateLink();
}
示例6: OO7_ComplexAssemblyImpl
public OO7_ComplexAssemblyImpl(Storage storage)
{
theSubAssemblies = storage.CreateLink();
}
示例7: BtreePage
internal BtreePage(Storage s, int n)
: base(s)
{
items = s.CreateLink(n);
items.Size = n;
}
示例8: BtreePageOfObject
internal BtreePageOfObject(Storage s)
: base(s, MAX_ITEMS)
{
data = s.CreateLink(MAX_ITEMS);
data.Size = MAX_ITEMS;
}
示例9: OO7_BaseAssemblyImpl
public OO7_BaseAssemblyImpl(Storage storage)
{
theComponentsPriv = storage.CreateLink();
theComponentsShar = storage.CreateLink();
}