forked from nhibernate/nhibernate-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathICollectionMetadata.cs
50 lines (42 loc) · 994 Bytes
/
ICollectionMetadata.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
using NHibernate.Type;
namespace NHibernate.Metadata
{
/// <summary>
/// Exposes collection metadata to the application
/// </summary>
public interface ICollectionMetadata
{
/// <summary>
/// The collection key type
/// </summary>
IType KeyType { get; }
/// <summary>
/// The collection element type
/// </summary>
IType ElementType { get; }
/// <summary>
/// The collection index type (or null if the collection has no index)
/// </summary>
IType IndexType { get; }
/// <summary>
/// Is the collection indexed?
/// </summary>
bool HasIndex { get; }
/// <summary>
/// The name of this collection role
/// </summary>
string Role { get; }
/// <summary>
/// Is the collection an array?
/// </summary>
bool IsArray { get; }
/// <summary>
/// Is the collection a primitive array?
/// </summary>
bool IsPrimitiveArray { get; }
/// <summary>
/// Is the collection lazily initialized?
/// </summary>
bool IsLazy { get; }
}
}