1
|
|
#region Copyright
|
2
|
|
|
3
|
|
|
4
|
|
|
5
|
|
|
6
|
|
|
7
|
|
|
8
|
|
|
9
|
|
|
10
|
|
|
11
|
|
|
12
|
|
|
13
|
|
|
14
|
|
|
15
|
|
|
16
|
|
|
17
|
|
#endregion
|
18
|
|
|
19
|
|
using System;
|
20
|
|
using Seasar.Extension.ADO;
|
21
|
|
|
22
|
|
namespace Seasar.Dao
|
23
|
|
{
|
24
|
|
public interface IBeanMetaData : IDtoMetaData
|
25
|
|
{
|
26
|
|
string TableName { get; }
|
27
|
|
IPropertyType VersionNoPropertyType { get; }
|
28
|
|
string VersionNoPropertyName { get; }
|
29
|
|
string VersionNoBindingName { get; }
|
30
|
|
bool HasVersionNoPropertyType { get; }
|
31
|
|
IPropertyType TimestampPropertyType { get; }
|
32
|
|
string TimestampPropertyName { get; }
|
33
|
|
string TimestampBindingName { get; }
|
34
|
|
bool HasTimestampPropertyType { get; }
|
35
|
|
string ConvertFullColumnName(string alias);
|
36
|
|
IPropertyType GetPropertyTypeByAliasName(string aliasName);
|
37
|
|
IPropertyType GetPropertyTypeByColumnName(string columnName);
|
38
|
|
bool HasPropertyTypeByColumnName(string columnName);
|
39
|
|
bool HasPropertyTypeByAliasName(string aliasName);
|
40
|
|
int RelationPropertyTypeSize{ get; }
|
41
|
|
IRelationPropertyType GetRelationPropertyType(int index);
|
42
|
|
IRelationPropertyType GetRelationPropertyType(string propertyName);
|
43
|
|
int PrimaryKeySize { get; }
|
44
|
|
string GetPrimaryKey(int index);
|
45
|
|
IIdentifierGenerator IdentifierGenerator { get; }
|
46
|
|
string AutoSelectList { get; }
|
47
|
|
bool IsRelation { get; }
|
48
|
|
}
|
49
|
|
}
|
50
|
|
|