Esempio n. 1
0
 public virtual void SetSupport(Net.Vpc.Upa.Persistence.EntityExtension support)
 {
     this.support = support;
 }
Esempio n. 2
0
 public virtual void AddEntityExtension(System.Type specType, System.Type supportType, Net.Vpc.Upa.Extensions.EntityExtensionDefinition specObject, Net.Vpc.Upa.Persistence.EntityExtension extensionSupport)
 {
     Net.Vpc.Upa.Impl.ExtensionSupportInfo tss = new Net.Vpc.Upa.Impl.ExtensionSupportInfo(specType, specObject, extensionSupport);
     objectMap[specObject] = tss;
     System.Collections.Generic.IList <Net.Vpc.Upa.Impl.ExtensionSupportInfo> list = Net.Vpc.Upa.Impl.FwkConvertUtils.GetMapValue <System.Type, System.Collections.Generic.IList <Net.Vpc.Upa.Impl.ExtensionSupportInfo> >(extensionsMap, specType);
     if (list == null)
     {
         list = new System.Collections.Generic.List <Net.Vpc.Upa.Impl.ExtensionSupportInfo>();
         extensionsMap[specType] = list;
     }
     list.Add(tss);
     System.Collections.Generic.IList <Net.Vpc.Upa.Impl.ExtensionSupportInfo> list2 = Net.Vpc.Upa.Impl.FwkConvertUtils.GetMapValue <System.Type, System.Collections.Generic.IList <Net.Vpc.Upa.Impl.ExtensionSupportInfo> >(extensionsSupportMap, supportType);
     if (list2 == null)
     {
         list2 = new System.Collections.Generic.List <Net.Vpc.Upa.Impl.ExtensionSupportInfo>();
         extensionsSupportMap[supportType] = list2;
     }
     list2.Add(tss);
 }
Esempio n. 3
0
 internal ExtensionSupportInfo(System.Type entityExtensionDefinitionType, Net.Vpc.Upa.Extensions.EntityExtensionDefinition extension, Net.Vpc.Upa.Persistence.EntityExtension support)
 {
     this.SetEntityExtensionDefinitionType(entityExtensionDefinitionType);
     this.SetExtension(extension);
     this.SetSupport(support);
 }