Microsoft.WindowsAzure.Samples.Data.Services.Client.EntityDescriptor.GetRelatedEnd C# (CSharp) Method

GetRelatedEnd() private method

private GetRelatedEnd ( ) : LinkDescriptor
return LinkDescriptor
        internal LinkDescriptor GetRelatedEnd()
        {
            Debug.Assert(this.IsDeepInsert, "For related end, this must be a deep insert");
            Debug.Assert(this.Identity == null, "If the identity is set, it means that the edit link no longer has the property name");

            return new LinkDescriptor(this.parentDescriptor.entity, this.parentProperty, this.entity);
        }