Beispiel #1
0
 /// <summary>
 /// Constructor for <see cref="EntityFieldInfo"/> object
 /// </summary>
 /// <param name="propertyInfo">property info</param>
 /// <param name="fieldName">field name</param>
 /// <param name="fieldAccessMode">access mode</param>
 /// <param name="fieldType">field type</param>
 public EntityFieldInfo(PropertyInfo propertyInfo, string fieldName, FieldAccessMode fieldAccessMode, FieldType fieldType)
 {
     this.propertyInfo    = propertyInfo;
     this.fieldName       = fieldName;
     this.fieldAccessMode = fieldAccessMode;
     this.fieldType       = fieldType;
 }
 public FieldNameAttribute(string name, FieldAccessMode fieldAccessMode, FieldType fieldType)
 {
     this.name            = name;
     this.fieldAccessMode = fieldAccessMode;
     this.fieldType       = fieldType;
 }
 public FieldNameAttribute(string name, FieldAccessMode fieldAccessMode) : this(name, fieldAccessMode, FieldType.Automatic)
 {
 }