예제 #1
0
 public virtual object GetId(Net.Vpc.Upa.Key unstructuredKey)
 {
     if (nfo.GetPlatformType().IsInstanceOfType(unstructuredKey))
     {
         return(unstructuredKey);
     }
     Net.Vpc.Upa.Key o = (Net.Vpc.Upa.Key)nfo.NewInstance();
     o.SetValue(unstructuredKey.GetValue());
     return(o);
 }
예제 #2
0
 public virtual object CreateId(params object [] keyValues)
 {
     Net.Vpc.Upa.Key o = (Net.Vpc.Upa.Key)nfo.NewInstance();
     o.SetValue(keyValues);
     return(o);
 }