[Serializable]
public enum ObxRelationshipType
{
OneToOne = 0,
OneToMany = 1,
OneToOneRequired = 2,
OneToManyRequired = 3,
}
应用枚举类的方法为:
ObxRelationshipType obxType=new ObxRelationshipType();
obxType.toString() 得到所存储的特定枚举的类型
public enum ObxRelationshipType
{
OneToOne = 0,
OneToMany = 1,
OneToOneRequired = 2,
OneToManyRequired = 3,
}
应用枚举类的方法为:
ObxRelationshipType obxType=new ObxRelationshipType();
obxType.toString() 得到所存储的特定枚举的类型