public bool Equals(DatabaseName other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(string.Equals(other._name, _name, StringComparison.Ordinal) && string.Equals(other._schema, _schema, StringComparison.Ordinal)); }
public static DatabaseName ToDatabaseName(this string s) { Contract.Requires(!string.IsNullOrWhiteSpace(s)); return(DatabaseName.Parse(s)); }
public bool Equals(DatabaseName other) { if (ReferenceEquals(null, other)) { return false; } if (ReferenceEquals(this, other)) { return true; } return string.Equals(other._name, _name, StringComparison.Ordinal) && string.Equals(other._schema, _schema, StringComparison.Ordinal); }