Exemple #1
0
 /// <summary>
 /// Unit test method for determining whether two facades are equivalent (ie: wrap the same server/client properties).
 /// </summary>
 /// <param name="other">The other facade.</param>
 /// <returns>
 ///   <c>true</c> if the two facades wrap the same properties; otherwise, <c>false</c>.
 /// </returns>
 internal bool IsEquivalentTo(EdmNavigationPropertyFacade other)
 {
     return(other != null &&
            ReferenceEquals(other.modelFacade, this.modelFacade) &&
            ReferenceEquals(other.declaringTypeFacade, this.declaringTypeFacade) &&
            ReferenceEquals(other.clientProperty, this.clientProperty) &&
            ReferenceEquals(other.serverProperty, this.serverProperty));
 }
 /// <summary>
 /// Unit test method for determining whether two facades are equivalent (ie: wrap the same server/client properties).
 /// </summary>
 /// <param name="other">The other facade.</param>
 /// <returns>
 ///   <c>true</c> if the two facades wrap the same properties; otherwise, <c>false</c>.
 /// </returns>
 internal bool IsEquivalentTo(EdmNavigationPropertyFacade other)
 {
     return other != null
         && ReferenceEquals(other.modelFacade, this.modelFacade) 
         && ReferenceEquals(other.declaringTypeFacade, this.declaringTypeFacade)
         && ReferenceEquals(other.clientProperty, this.clientProperty)
         && ReferenceEquals(other.serverProperty, this.serverProperty);
 }