Several strange phenomena when calling WebService in VC ++

xiaoxiao2021-03-06  112

Recently, I found a few strange phenomena when I did the new learning platform (WebService): 1) It seems that it is easy to adjust the complicated type of WebService if it is unable to manage the code. 2) When WebService When returning an object, I remember that the object must be the most inside, which is a separate class. There is no subclass of objects, so that I can call in VC . Net. The Oromapping I wrote inherited in inherited PersistentObject, so each time An error occurred in VC . Net calls. No way, I have to rewrite a class and pay the value obtained by Ormapping again to the new class. It seems that I have to modify my mapping next time, I see that NHibernate is very good, it is written: session.save (newuser); and my mapping is newuser.save (); // save is newuser The Persistent class inherited by the class is provided, such a disadvantage is that it is no longer inheriting a new class. It seems that I have to modify my Ormapping, maybe this time I have to encounter "Butterfly Effect",, why C #, VB. What can NET? If you have a good consideration, if a master can solve this problem, please let me know that I am careless.

转载请注明原文地址:https://www.9cbs.com/read-99032.html

New Post(0)