Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Compare() [2/2]

int System.Data.Common.SqlStringStorage.Compare ( SqlString valueNo1,
SqlString valueNo2 )
inline

Definition at line 103 of file SqlStringStorage.cs.

104 {
105 if (valueNo1.IsNull && valueNo2.IsNull)
106 {
107 return 0;
108 }
109 if (valueNo1.IsNull)
110 {
111 return -1;
112 }
113 if (valueNo2.IsNull)
114 {
115 return 1;
116 }
117 return _table.Compare(valueNo1.Value, valueNo2.Value);
118 }
readonly DataTable _table
int Compare(string s1, string s2)

References System.Data.Common.DataStorage._table, System.Data.DataTable.Compare(), and System.Xml.Dictionary.