private ObjectIndex(string name, byte[] value, object deserializedValue, ObjectIndexType dataType) { Name = name; Value = value; DataType = dataType; _deserializedValue = deserializedValue; }
public ObjectIndexMetadata(string name, ObjectIndexType dataType, uint precision, uint scale, bool nullable) { if (string.IsNullOrEmpty(name)) { throw new ArgumentException("Name is a required parameter."); } if (ObjectIndexType.Unknown == dataType) { throw new ArgumentException("Data type is required to specified. Found: " + dataType); } Name = name; DataType = dataType; Precision = precision; Scale = scale; Nullable = nullable; }
public ObjectIndexMetadata(string name, ObjectIndexType dataType, uint precision, bool nullable) : this(name, dataType, precision, 0, nullable) { }
public ObjectIndexMetadata(string name, ObjectIndexType dataType, uint precision, uint scale) : this(name, dataType, precision, scale, false) { }
public ObjectIndexMetadata(string name, ObjectIndexType dataType) : this(name, dataType, 7, 0, false) { }