예제 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="T:Shushu.Attributes.ClassMapping"/> class.
 /// </summary>
 /// <param name="indexField">Index field.</param>
 /// <param name="value">Value.</param>
 public ClassMapping(Enums.IndexField indexField, object value)
 {
     IndexField = indexField;
     Value      = value;
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="T:Shushu.Attributes.PropertyMapping"/> class.
 /// </summary>
 /// <param name="indexField">Index field.</param>
 public PropertyMapping(Enums.IndexField indexField)
 {
     IndexField = indexField;
 }