示例#1
0
 public MetadataVirtualProperty(string virtualPropertyName) : base(virtualPropertyName)
 {
     AccessType = FieldAccessType.PUBLIC_METHOD;
     Accessor   = new MetadataPropertyAccessor(virtualPropertyName);
 }
示例#2
0
 public void SetAccessor(MetadataPropertyAccessor accessor)
 {
     Accessor = accessor;
 }
示例#3
0
 public new void SetAccessor(MetadataPropertyAccessor accessor)
 {
     throw new ArgumentException("Virtual properties have preset accessor as its name.");
 }