/// <summary> ///Copies the data member values of the current ServiceTutorial10State to the specified target object ///</summary> ///<param name="target">target object (must be an instance of)</param> public virtual void CopyTo(Microsoft.Dss.Core.IDssSerializable target) { global::ServiceTutorial10.Proxy.ServiceTutorial10State typedTarget = ((global::ServiceTutorial10.Proxy.ServiceTutorial10State)(target)); typedTarget._FirstName = this._FirstName; typedTarget._Initials = this._Initials; typedTarget._LastName = this._LastName; typedTarget._LastModified = this._LastModified; }
public static object ServiceTutorial10_ServiceTutorial10State_TO_ServiceTutorial10_Proxy_ServiceTutorial10State(object transformFrom) { global::ServiceTutorial10.Proxy.ServiceTutorial10State target = new global::ServiceTutorial10.Proxy.ServiceTutorial10State(); global::ServiceTutorial10.ServiceTutorial10State from = ((global::ServiceTutorial10.ServiceTutorial10State)(transformFrom)); target.FirstName = from.FirstName; target.Initials = from.Initials; target.LastName = from.LastName; target.LastModified = from.LastModified; return target; }
/// <summary> ///Clones ServiceTutorial10State ///</summary> ///<returns>cloned value</returns> public virtual object Clone() { global::ServiceTutorial10.Proxy.ServiceTutorial10State target0 = new global::ServiceTutorial10.Proxy.ServiceTutorial10State(); this.CopyTo(target0); return(target0); }