public void Test_Criteria_EmptyRelKey() { //--------------- Set up test pack ------------------ BOPropCol propCol = new BOPropCol(); RelKeyDef relKeyDef = new RelKeyDef(); RelKey relKey = new RelKey(relKeyDef, propCol); //--------------- Test Preconditions ---------------- //--------------- Execute Test ---------------------- Criteria relCriteria = relKey.Criteria; //--------------- Test Result ----------------------- Assert.IsNull(relCriteria); }
/// <summary> /// Create a relationship key based on this key definition and /// its associated property definitions /// </summary> /// <param name="lBoPropCol">The collection of properties</param> /// <returns>Returns the new RelKey object</returns> public IRelKey CreateRelKey(IBOPropCol lBoPropCol) { RelKey lRelKey = new RelKey(this, lBoPropCol); return lRelKey; }
/// <summary> /// Create a relationship key based on this key definition and /// its associated property definitions /// </summary> /// <param name="lBoPropCol">The collection of properties</param> /// <returns>Returns the new RelKey object</returns> public IRelKey CreateRelKey(IBOPropCol lBoPropCol) { RelKey lRelKey = new RelKey(this, lBoPropCol); return(lRelKey); }