System.Data.SqlClient.SqlCollation.AreSame C# (CSharp) Method

AreSame() static private method

static private AreSame ( SqlCollation a, SqlCollation b ) : bool
a SqlCollation
b SqlCollation
return bool
        static internal bool AreSame(SqlCollation a, SqlCollation b)
        {
            if (a == null || b == null)
            {
                return a == b;
            }
            else
            {
                return a.info == b.info && a.sortId == b.sortId;
            }
        }
    }