static AggregateRoot() { var objectType = typeof(TObject); _remotableTip = RemotableAttribute.GetTip(objectType); }
private RemotableAttribute GetTip(DTObject arg) { var typeName = arg.GetValue <string>("typeName"); //这是远程类型的全称 return(RemotableAttribute.GetTip(typeName)); }