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); }
public virtual object CreateId(params object [] keyValues) { Net.Vpc.Upa.Key o = (Net.Vpc.Upa.Key)nfo.NewInstance(); o.SetValue(keyValues); return(o); }