An ionic compound such as sodium chloride will be completely dissociated in water, which will result in the compound dissolving in water. I am hoping that this answer has satisfied your query and it will be able to help you in your endeavor, and if you would like, feel free to ask another question.