예제 #1
0
        public string ToShortString()
        {
            var returnString =
                $"{Key.ToKeyString()}," +
                $" {ADate.ToShortDateString()}," +
                $" {ANullableDate?.ToShortDateString()}," +
                $" {ATime}," +
                $" {ANullableTime}," +
                $" {ADateMinutes}," +
                $" {ANullableDateMinutes}," +
                $" {ADateSeconds}," +
                $" {ANullableDateSeconds}," +
                $" {ADateTime}," +
                $" {ANullableDateTime}," +
                $" {ATimeSpan}," +
                $" {ANullableTimeSpan}," +
                $" {ADecimal}," +
                $" {ANullableDecimal}," +
                $" {ADecimal2}," +
                $" {ANullableDecimal2}," +
                $" {ADecimal4}," +
                $" {ANullableDecimal4}," +
                $" {ADecimal5}," +
                $" {ANullableDecimal5}," +
                $" {ABool}," +
                $" {ANullableBool}," +
                $" {AInt}," +
                $" {ANullableInt}," +
                $" {ALong}," +
                $" {ANullableLong}," +
                $" {AChar}," +
                $" {ANullableChar}," +
                $" {AString}," +
                $" {ANullableString}," +
                $" {AEnum}," +
                $" {ANullableEnum}";

            onToShortString(ref returnString);
            return(returnString);
        }
예제 #2
0
        public override string ToString()
        {
            var returnString =
                $"Key: {Key.ToKeyString()}," +
                $" ADate: {ADate.ToShortDateString()}," +
                $" ANullableDate: {ANullableDate?.ToShortDateString()}," +
                $" ATime: {ATime}," +
                $" ANullableTime: {ANullableTime}," +
                $" ADateMinutes: {ADateMinutes}," +
                $" ANullableDateMinutes: {ANullableDateMinutes}," +
                $" ADateSeconds: {ADateSeconds}," +
                $" ANullableDateSeconds: {ANullableDateSeconds}," +
                $" ADateTime: {ADateTime}," +
                $" ANullableDateTime: {ANullableDateTime}," +
                $" ATimeSpan: {ATimeSpan}," +
                $" ANullableTimeSpan: {ANullableTimeSpan}," +
                $" ADecimal: {ADecimal}," +
                $" ANullableDecimal: {ANullableDecimal}," +
                $" ADecimal2: {ADecimal2}," +
                $" ANullableDecimal2: {ANullableDecimal2}," +
                $" ADecimal4: {ADecimal4}," +
                $" ANullableDecimal4: {ANullableDecimal4}," +
                $" ADecimal5: {ADecimal5}," +
                $" ANullableDecimal5: {ANullableDecimal5}," +
                $" ABool: {ABool}," +
                $" ANullableBool: {ANullableBool}," +
                $" AInt: {AInt}," +
                $" ANullableInt: {ANullableInt}," +
                $" ALong: {ALong}," +
                $" ANullableLong: {ANullableLong}," +
                $" AChar: {AChar}," +
                $" ANullableChar: {ANullableChar}," +
                $" AString: {AString}," +
                $" ANullableString: {ANullableString}," +
                $" AEnum: {AEnum}," +
                $" ANullableEnum: {ANullableEnum};";

            onToString(ref returnString);
            return(returnString);
        }
예제 #3
0
        public string ToTraceString()
        {
            var returnString =
                $"{this.GetKeyOrHash()}|" +
                $" {ADate.ToShortDateString()}|" +
                $" {ANullableDate?.ToShortDateString()}|" +
                $" {ATime}|" +
                $" {ANullableTime}|" +
                $" {ADateMinutes}|" +
                $" {ANullableDateMinutes}|" +
                $" {ADateSeconds}|" +
                $" {ANullableDateSeconds}|" +
                $" {ADateTime}|" +
                $" {ANullableDateTime}|" +
                $" {ATimeSpan}|" +
                $" {ANullableTimeSpan}|" +
                $" {ADecimal}|" +
                $" {ANullableDecimal}|" +
                $" {ADecimal2}|" +
                $" {ANullableDecimal2}|" +
                $" {ADecimal4}|" +
                $" {ANullableDecimal4}|" +
                $" {ADecimal5}|" +
                $" {ANullableDecimal5}|" +
                $" {ABool}|" +
                $" {ANullableBool}|" +
                $" {AInt}|" +
                $" {ANullableInt}|" +
                $" {ALong}|" +
                $" {ANullableLong}|" +
                $" {AChar}|" +
                $" {ANullableChar}|" +
                $" {AString}|" +
                $" {ANullableString}|" +
                $" {AEnum}|" +
                $" {ANullableEnum}";

            onToTraceString(ref returnString);
            return(returnString);
        }