Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
809 views
in Technique[技术] by (71.8m points)

wcf - Use SQL Server Master Data Services to validate a record without creating it

We are looking at SQL Server MDS (2019) as a potential solution to manage our master data. One of the use cases we are interested in is having a "central" validation service. We write quite a bit of custom code, and it would be useful to be able to validate data that we create centrally.

MDS provides the business rules for any entities in MDS, but so far I've only been able to validate records that were actually created in MDS. We would like to be able to validate a record/object based on the business rules in MDS, but not create it (yet). This would, for example, allow us to inform the user in the UI while they are creating the record. It would also allow business to create and manage the validation rules instead of us having to change code.

I've created a prototype using the MDS WCF service which creates a new object, validates it, and removes it. This works but if MDS provides such functionality out of the box, it would be worth looking at that instead.

Is this functionality available out of the box? If not, is there a 3rd party solution available or is the method described (create, validate, delete) a reasonable solution? I've not been able to find anything on the internet that does what we have in mind, but I might not know what to search for.

Any help or pointers are greatly appreciated.

question from:https://stackoverflow.com/questions/65860691/use-sql-server-master-data-services-to-validate-a-record-without-creating-it

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

1.4m articles

1.4m replys

5 comments

57.0k users

...