コード例 #1
0
        /// <summary>
        /// Pega o operado booleando
        /// </summary>
        /// <param name="pRelationship">Tipo da Relação</param>
        /// <returns></returns>
        public string GetRelationShip(eRelationship pRelationship)
        {
            switch (pRelationship)
            {
            case eRelationship.erAnd:
                return(" AND ");

            case eRelationship.erOr:
                return(" OR ");

            default:
                return(string.Empty);
            }
        }
コード例 #2
0
 /// <summary>
 /// Sets the relationship.
 /// </summary>
 /// <param name="value">The value.</param>
 public void SetRelationship(eRelationship value) => deviceHS.set_Relationship(hs, value);