internal KeySegmentInfo(KeySegmentAttribute attribute, FieldInfo field) { this.KeyNumber = attribute.KeyNumber; this.Index = attribute.Index; this.NullValue = attribute.NullValue; this.IsDescending = attribute.IsDescending; this.IsIgnoreCase = attribute.IsIgnoreCase; this.Length = field.Length; this.Field = field; this.Position = 0; this.Key = null; this.IsSegmentKey = true; }