/dports/lang/mono/mono-5.10.1.57/external/Newtonsoft.Json/Src/Newtonsoft.Json.Tests/Serialization/ |
H A D | EntitiesSerializationTests.cs | 205 Assert.AreEqual("Folder", f.EntityKey.EntitySetName); in DeserializeEntity() 207 Assert.AreEqual("Folder", f.EntityKey.EntitySetName); in DeserializeEntity() 208 Assert.AreEqual(false, f.EntityKey.IsTemporary); in DeserializeEntity() 209 Assert.AreEqual(1, f.EntityKey.EntityKeyValues.Length); in DeserializeEntity() 210 Assert.AreEqual("FolderId", f.EntityKey.EntityKeyValues[0].Key); in DeserializeEntity() 224 Assert.AreEqual(null, childFolder.ParentFolderReference.EntityKey); in DeserializeEntity() 230 EntityKey e = new EntityKey("DataServicesTestDatabaseEntities.Folder", in SerializeMultiValueEntityKey() 275 EntityKey newKey = JsonConvert.DeserializeObject<EntityKey>(json); in SerializeMultiValueEntityKey() 295 …folder.EntityKey = new EntityKey("DataServicesTestDatabaseEntities.Folder", "FolderId", folder.Fol… in CreateEntitiesTestData() 302 …childFolder.EntityKey = new EntityKey("DataServicesTestDatabaseEntities.Folder", "FolderId", child… in CreateEntitiesTestData() [all …]
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Data.Entity/System/Data/Objects/DataClasses/ |
H A D | EntityReference.cs | 44 private EntityKey _cachedForeignKey; 84 public EntityKey EntityKey property in System.Data.Objects.DataClasses.EntityReference 94 EntityKey attachedKey = null; 130 EntityKey ownerKey = WrappedOwner.EntityKey; 325 internal EntityKey AttachedEntityKey 330 return this.EntityKey; 334 internal EntityKey DetachedEntityKey 346 internal EntityKey CachedForeignKey 368 if (EntityKey != null) in GetAllKeyValues() 370 yield return EntityKey; in GetAllKeyValues() [all …]
|
H A D | RelatedEnd.cs | 384 EntityKey key = _wrappedOwner.EntityKey; in CreateSourceQuery() 797 EntityKey sourceKey = _wrappedOwner.EntityKey; in Merge() 1138 EntityKey key = wrappedTarget.EntityKey; in Add() 1783 EntityKey entityKey = wrappedEntity.EntityKey; in FindRelationshipEntryInObjectStateManager() 1784 EntityKey ownerKey = _wrappedOwner.EntityKey; in FindRelationshipEntryInObjectStateManager() 2123 EntityKey targetKey = wrappedEntity.EntityKey; in AddEntityToObjectStateManager() 2154 EntityKey ownerKey = _wrappedOwner.EntityKey; in AddRelationshipToObjectStateManager() 2155 EntityKey entityKey = wrappedEntity.EntityKey; in AddRelationshipToObjectStateManager() 2244 EntityKey ownerKey = wrappedOwner.EntityKey; in MarkRelationshipAsDeletedInObjectStateManager() 2259 EntityKey ownerKey = wrappedOwner.EntityKey; in DetachRelationshipFromObjectStateManager() [all …]
|
/dports/devel/newtonsoft-json/Newtonsoft.Json-9.0.1/Src/Newtonsoft.Json.Tests/Serialization/ |
H A D | EntitiesSerializationTests.cs | 301 Assert.AreEqual("Folder", f.EntityKey.EntitySetName); in DeserializeEntity() 303 Assert.AreEqual("Folder", f.EntityKey.EntitySetName); in DeserializeEntity() 304 Assert.AreEqual(false, f.EntityKey.IsTemporary); in DeserializeEntity() 305 Assert.AreEqual(1, f.EntityKey.EntityKeyValues.Length); in DeserializeEntity() 326 EntityKey e = new EntityKey("DataServicesTestDatabaseEntities.Folder", in SerializeMultiValueEntityKey() 377 EntityKey newKey = JsonConvert.DeserializeObject<EntityKey>(json); in SerializeMultiValueEntityKey() 396 EntityKey e = new EntityKey("DataServicesTestDatabaseEntities.Folder", in SerializeMultiValueEntityKeyCameCase() 441 EntityKey newKey = JsonConvert.DeserializeObject<EntityKey>(json); in SerializeMultiValueEntityKeyCameCase() 461 …folder.EntityKey = new EntityKey("DataServicesTestDatabaseEntities.Folder", "FolderId", folder.Fol… in CreateEntitiesTestData() 468 …childFolder.EntityKey = new EntityKey("DataServicesTestDatabaseEntities.Folder", "FolderId", child… in CreateEntitiesTestData() [all …]
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Data.Entity/System/Data/Objects/ |
H A D | ObjectStateManager.cs | 500 Debug.Assert(dFkEntry.EntityKey == null || entry.EntityKey == null || in AssertEntryDoesNotExistInForeignKeyIndex() 941 EntityKey targetKey = wrappedRelatedEntity.EntityKey; in UpdateRelatedEnd() 1016 EntityKey targetKey = wrappedTarget.EntityKey; in UpdateRelationships() 1963 EntityKey oldKey = entry.EntityKey; in FixupKey() 2072 EntityKey oldKey = entry.EntityKey; in ReplaceKeyWithTemporaryKey() 2076 EntityKey newKey = new EntityKey(entry.EntitySet); in ReplaceKeyWithTemporaryKey() 2118 EntityKey entityKey = entry.WrappedEntity.EntityKey; in ResetEntityKey() 2161 EntityKey key = entity as EntityKey; in ChangeObjectState() 2393 EntityKey key = o as EntityKey; in GetEntityEntryByObjectOrEntityKey() 2489 EntityKey entityKey = entity as EntityKey; in TryGetObjectStateEntry() [all …]
|
H A D | RelationshipWrapper.cs | 19 internal readonly EntityKey Key0; 20 internal readonly EntityKey Key1; 22 internal RelationshipWrapper(AssociationSet extent, EntityKey key) in RelationshipWrapper() 32 internal RelationshipWrapper(RelationshipWrapper wrapper, int ordinal, EntityKey key) in RelationshipWrapper() 44 KeyValuePair<string, EntityKey> roleAndKey1, in RelationshipWrapper() 45 KeyValuePair<string, EntityKey> roleAndKey2) in RelationshipWrapper() 51 string role0, EntityKey key0, in RelationshipWrapper() 52 string role1, EntityKey key1) in RelationshipWrapper() 87 internal AssociationEndMember GetAssociationEndMember(EntityKey key) in GetAssociationEndMember() 93 internal EntityKey GetOtherEntityKey(EntityKey key) in GetOtherEntityKey() [all …]
|
H A D | RelationshipEntry.cs | 22 internal EntityKey Key0 { get { return RelationshipWrapper.Key0; } } 23 internal EntityKey Key1 { get { return RelationshipWrapper.Key1; } } 121 override public EntityKey EntityKey property in System.Data.Objects.RelationshipEntry 297 return typeof(EntityKey); // this is given By Design in GetFieldType() 440 internal void ChangeRelatedEnd(EntityKey oldKey, EntityKey newKey) in ChangeRelatedEnd() 465 EntityKey entityKey = this.GetCurrentRelationValue(i, false) as EntityKey; in DeleteUnnecessaryKeyEntries() 524 EntityKey targetKey = null; in Delete() 528 targetKey = entry1.EntityKey; in Delete() 533 targetKey = entry2.EntityKey; in Delete() 705 internal RelationshipEntry GetNextRelationshipEnd(EntityKey entityKey) in GetNextRelationshipEnd() [all …]
|
H A D | EntityEntry.cs | 141 override public EntityKey EntityKey property in System.Data.Objects.EntityEntry 674 … (!object.ReferenceEquals(this.EntityKey, current.Key1) && this.EntityKey.Equals(current.Key0)); in RemoveRelationshipEnd() 2339 EntityKey relatedKey, in AddRelationshipDetectedByForeignKey() 2445 EntityKey key = _entityKey; in Detach() 2556 … EntityKey targetKey = relationshipEntry.RelationshipWrapper.GetOtherEntityKey(EntityKey); in IsOneEndOfSomeRelationship() 2579 … EntityKey targetKey = relationshipEntry.RelationshipWrapper.GetOtherEntityKey(EntityKey); in DetachRelationshipsEntries() 2649 … EntityKey entityKey = relationshipEntry.GetCurrentRelationValue(i) as EntityKey; in DeleteRelationshipsThatReferenceKeys() 3465 EntityKey existingPrincipalKey = existingPrincipal.EntityKey; in FixupEntityReferenceByForeignKey() 3662 … principalKey = relatedEnd.EntityKey ?? relatedEnd.CachedValue.ObjectStateEntry.EntityKey; in TryGetReferenceKey() 3739 EntityKey principalKey = reference.EntityKey; in FixupForeignKeysByReference() [all …]
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Data.Entity/System/Data/Objects/Internal/ |
H A D | ForeignKeyFactory.cs | 26 public static bool IsConceptualNullKey(EntityKey key) in IsConceptualNullKey() 44 … public static bool IsConceptualNullKeyChanged(EntityKey conceptualNullKey, EntityKey realKey) in IsConceptualNullKeyChanged() 53 return !EntityKey.InternalEquals(conceptualNullKey, realKey, compareEntitySets: false); in IsConceptualNullKeyChanged() 61 public static EntityKey CreateConceptualNullKey(EntityKey originalKey) in CreateConceptualNullKey() 66 EntityKey nullKey = new EntityKey(s_NullForeignKey, originalKey.EntityKeyValues); in CreateConceptualNullKey() 77 …public static EntityKey CreateKeyFromForeignKeyValues(EntityEntry dependentEntry, RelatedEnd relat… in CreateKeyFromForeignKeyValues() 94 …public static EntityKey CreateKeyFromForeignKeyValues(EntityEntry dependentEntry, ReferentialConst… in CreateKeyFromForeignKeyValues() 105 … return keyValue == DBNull.Value ? null : new EntityKey(principalEntitySet, keyValue); in CreateKeyFromForeignKeyValues() 131 return new EntityKey(principalEntitySet, values); in CreateKeyFromForeignKeyValues()
|
H A D | EntityWithKeyStrategy.cs | 33 public EntityKey GetEntityKey() in GetEntityKey() 35 return _entity.EntityKey; in GetEntityKey() 39 public void SetEntityKey(EntityKey key) in SetEntityKey() 41 _entity.EntityKey = key; in SetEntityKey() 45 public EntityKey GetEntityKeyFromEntity() in GetEntityKeyFromEntity() 47 return _entity.EntityKey; in GetEntityKeyFromEntity()
|
H A D | LightweightEntityWrapper.cs | 56 …internal LightweightEntityWrapper(TEntity entity, EntityKey key, EntitySet entitySet, ObjectContex… in LightweightEntityWrapper() 64 _entity.EntityKey = key; in LightweightEntityWrapper() 84 public override EntityKey EntityKey property in System.Data.Objects.Internal.LightweightEntityWrapper 88 return _entity.EntityKey; 92 _entity.EntityKey = value; 102 public override EntityKey GetEntityKeyFromEntity() in GetEntityKeyFromEntity() 104 return _entity.EntityKey; in GetEntityKeyFromEntity()
|
H A D | PocoEntityKeyStrategy.cs | 22 private EntityKey _key; 32 public EntityKey GetEntityKey() in GetEntityKey() 38 public void SetEntityKey(EntityKey key) in SetEntityKey() 44 public EntityKey GetEntityKeyFromEntity() in GetEntityKeyFromEntity()
|
H A D | IEntityKeyStrategy.cs | 23 EntityKey GetEntityKey(); in GetEntityKey() 29 void SetEntityKey(EntityKey key); in SetEntityKey() 35 EntityKey GetEntityKeyFromEntity(); in GetEntityKeyFromEntity()
|
H A D | TransactionManager.cs | 116 …internal Dictionary<IEntityWrapper, Dictionary<RelatedEnd, HashSet<EntityKey>>> AddedRelationships… 123 …internal Dictionary<IEntityWrapper, Dictionary<RelatedEnd, HashSet<EntityKey>>> AddedRelationships… 130 …internal Dictionary<IEntityWrapper, Dictionary<RelatedEnd, HashSet<EntityKey>>> DeletedRelationshi… 307 …onshipsByForeignKey = new Dictionary<IEntityWrapper, Dictionary<RelatedEnd, HashSet<EntityKey>>>(); in BeginDetectChanges() 308 …onshipsByForeignKey = new Dictionary<IEntityWrapper, Dictionary<RelatedEnd, HashSet<EntityKey>>>(); in BeginDetectChanges() 309 …shipsByPrincipalKey = new Dictionary<IEntityWrapper, Dictionary<RelatedEnd, HashSet<EntityKey>>>(); in BeginDetectChanges()
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Data.Entity/System/Data/Common/ |
H A D | EntityRecordInfo.cs | 21 private readonly EntityKey _entityKey; 30 …public EntityRecordInfo(EntityType metadata, IEnumerable<EdmMember> memberInfo, EntityKey entityKe… in EntityRecordInfo() 32 EntityUtil.CheckArgumentNull<EntityKey>(entityKey, "entityKey"); in EntityRecordInfo() 45 internal EntityRecordInfo(EntityType metadata, EntityKey entityKey, EntitySet entitySet) in EntityRecordInfo() 47 EntityUtil.CheckArgumentNull<EntityKey>(entityKey, "entityKey"); in EntityRecordInfo() 68 internal EntityRecordInfo(DataRecordInfo info, EntityKey entityKey, EntitySet entitySet) in EntityRecordInfo() 89 public EntityKey EntityKey { property in System.Data.Common.EntityRecordInfo 99 !object.ReferenceEquals(_entityKey, EntityKey.EntityNotValidKey) && in ValidateEntityType() 100 !object.ReferenceEquals(_entityKey, EntityKey.NoEntitySetKey) && in ValidateEntityType()
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Data.Entity/System/Data/Mapping/Update/Internal/ |
H A D | UpdateCommand.cs | 101 KeyToListMap<EntityKey, UpdateCommand> addedEntities, in GetRequiredAndProducedEntities() argument 102 KeyToListMap<EntityKey, UpdateCommand> deletedEntities, in GetRequiredAndProducedEntities() 103 KeyToListMap<EntityKey, UpdateCommand> addedRelationships, in GetRequiredAndProducedEntities() 104 KeyToListMap<EntityKey, UpdateCommand> deletedRelationships) in GetRequiredAndProducedEntities() 114 addedEntities.Add(stateEntry.EntityKey, this); in GetRequiredAndProducedEntities() 118 deletedEntities.Add(stateEntry.EntityKey, this); in GetRequiredAndProducedEntities() 146 EntityKey end1 = (EntityKey)record[0]; in GetRequiredAndProducedEntities() 147 EntityKey end2 = (EntityKey)record[1]; in GetRequiredAndProducedEntities() 150 …KeyToListMap<EntityKey, UpdateCommand> affected = isAdded ? addedRelationships : deletedRelationsh… in GetRequiredAndProducedEntities() 160 …ties(UpdateTranslator translator, PropagatorResult result, KeyToListMap<EntityKey, UpdateCommand> … in AddReferencedEntities() argument [all …]
|
H A D | KeyManager.cs | 24 …rivate readonly Dictionary<Tuple<EntityKey, string, bool>, int> _foreignKeyIdentifiers = new Dicti… 25 …private readonly Dictionary<EntityKey, EntityKey> _valueKeyToTempKey = new Dictionary<EntityKey, E… 26 … private readonly Dictionary<EntityKey, int> _keyIdentifiers = new Dictionary<EntityKey, int>(); 106 …internal int GetKeyIdentifierForMemberOffset(EntityKey entityKey, int memberOffset, int keyMemberC… in GetKeyIdentifierForMemberOffset() 129 … internal int GetKeyIdentifierForMember(EntityKey entityKey, string member, bool currentValues) in GetKeyIdentifierForMember() 302 Debug.Assert(addedEntry.EntityKey.IsTemporary); in RegisterKeyValueForAddedEntity() 305 EntityKey tempKey = addedEntry.EntityKey; in RegisterKeyValueForAddedEntity() 306 EntityKey valueKey; in RegisterKeyValueForAddedEntity() 334 ? new EntityKey(addedEntry.EntitySet, keyValues[0]) in RegisterKeyValueForAddedEntity() 335 : new EntityKey(addedEntry.EntitySet, keyValues); in RegisterKeyValueForAddedEntity() [all …]
|
H A D | UpdateCommandOrderer.cs | 334 …KeyToListMap<EntityKey, UpdateCommand> addedEntities = new KeyToListMap<EntityKey, UpdateCommand>(… in AddModelDependencies() 335 …KeyToListMap<EntityKey, UpdateCommand> deletedEntities = new KeyToListMap<EntityKey, UpdateCommand… in AddModelDependencies() 336 …KeyToListMap<EntityKey, UpdateCommand> addedRelationships = new KeyToListMap<EntityKey, UpdateComm… in AddModelDependencies() 337 …KeyToListMap<EntityKey, UpdateCommand> deletedRelationships = new KeyToListMap<EntityKey, UpdateCo… in AddModelDependencies() 351 …rivate void AddModelDependencies(KeyToListMap<EntityKey, UpdateCommand> producedMap, KeyToListMap<… in AddModelDependencies() argument 355 EntityKey key = keyAndCommands.Key; in AddModelDependencies()
|
H A D | UpdateTranslator.cs | 57 m_knownEntityKeys = new Set<EntityKey>(); in UpdateTranslator() 59 m_optionalEntities = new Set<EntityKey>(); in UpdateTranslator() 178 EntityKey principalKey = (EntityKey)record[constraint.FromRole.Name]; in RegisterReferentialConstraints() 179 EntityKey dependentKey = (EntityKey)record[constraint.ToRole.Name]; in RegisterReferentialConstraints() 225 EntityKey dependentKey = stateEntry.EntityKey; in RegisterEntityReferentialConstraints() 234 EntityKey principalKey = null; in RegisterEntityReferentialConstraints() 276 EntityKey tempKey; in RegisterEntityReferentialConstraints() 869 EntityKey key = required.Key; in PullUnchangedEntriesFromStateManager() 933 EntityKey entityKey = stateEntry.EntityKey; in ValidateAndRegisterStateEntry() 962 EntityKey end = (EntityKey)record.GetValue(field.Ordinal); in ValidateAndRegisterStateEntry() [all …]
|
H A D | RelationshipConstraintValidator.cs | 77 … Debug.Assert(null != (object)stateEntry.EntityKey, "entity state entry must have an entity key"); in RegisterEntity() 78 … EntityKey entityKey = EntityUtil.CheckArgumentNull(stateEntry.EntityKey, "stateEntry.EntityKey"); in RegisterEntity() 144 Dictionary<string, EntityKey> endNameToKeyMap = new Dictionary<string, EntityKey>( in RegisterAssociation() 149 EntityKey entityKey = (EntityKey)record.GetValue(field.Ordinal); in RegisterAssociation() 165 … EntityKey toEntityKey = endNameToKeyMap[toEnd.CorrespondingAssociationEndMember.Name]; in RegisterAssociation() 359 internal readonly EntityKey ToEntityKey; 388 …internal DirectionalRelationship(EntityKey toEntityKey, AssociationEndMember fromEnd, AssociationE… in DirectionalRelationship()
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Web.Entity/System/Data/WebControls/ |
H A D | EntityDataSourceReferenceGroup.cs | 55 internal abstract EntityKey GetEntityKey(EntityDataSourceWrapper entity); in GetEntityKey() 72 EntityKey originalEntityKeys = reference.EntityKey; in SetKeyValues() 117 reference.EntityKey = null; in SetKeyValues() 121 …reference.EntityKey = new EntityKey(EntityDataSourceUtil.GetQualifiedEntitySetName(End.EntitySet),… in SetKeyValues() 125 internal override EntityKey GetEntityKey(EntityDataSourceWrapper entity) in GetEntityKey() 127 EntityKey key = GetRelatedReference(entity).EntityKey; in GetEntityKey()
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Data.Entity/System/Data/ |
H A D | EntityKey.cs | 30 public sealed class EntityKey : IEquatable<EntityKey> class 77 public static readonly EntityKey NoEntitySetKey = new EntityKey(s_NoEntitySetKey); 83 public static readonly EntityKey EntityNotValidKey = new EntityKey(s_EntityNotValidKey); 95 public EntityKey() in EntityKey() method in System.Data.EntityKey 189 internal EntityKey(EntitySetBase entitySet) in EntityKey() method in System.Data.EntityKey 409 public bool Equals(EntityKey other) in Equals() 489 public static bool operator ==(EntityKey key1, EntityKey key2) in operator ==() 509 public static bool operator !=(EntityKey key1, EntityKey key2) in operator !=() 529 internal static bool InternalEquals(EntityKey key1, EntityKey key2, bool compareEntitySets) in InternalEquals() 629 internal static bool CompositeValuesWithBinaryEqual(EntityKey key1, EntityKey key2) in CompositeValuesWithBinaryEqual() [all …]
|
H A D | IEntityStateManager.cs | 25 IEnumerable<IEntityStateEntry> FindRelationshipsByKey(EntityKey key); in FindRelationshipsByKey() 26 IEntityStateEntry GetEntityStateEntry(EntityKey key); in GetEntityStateEntry() 27 bool TryGetEntityStateEntry(EntityKey key, out IEntityStateEntry stateEntry); in TryGetEntityStateEntry() 28 …bool TryGetReferenceKey(EntityKey dependentKey, AssociationEndMember principalRole, out EntityKey … in TryGetReferenceKey()
|
/dports/math/dune-grid/dune-grid-de36e4b4e99da4cd7a120a39779345e701821115/dune/grid/io/file/dgfparser/blocks/ |
H A D | boundaryseg.cc | 33 :: get( std :: map< EntityKey, BndParam > &facemap, in get() argument 62 EntityKey key( bound, false ); in get() 78 EntityKey helperKey( bound, false ); in get() 89 EntityKey helperKey( bound, false ); in get() 98 EntityKey key( p, false ); in get() 106 EntityKey key( k, false ); in get()
|
/dports/www/py-draftjs-exporter/draftjs_exporter-4.1.2/draftjs_exporter/ |
H A D | entity_state.py | 12 EntityKey, 36 self.entity_stack: List[EntityKey] = [] 37 self.completed_entity: Optional[EntityKey] = None 53 def has_entity(self) -> List[EntityKey]: 59 def get_entity_details(self, entity_key: EntityKey) -> EntityDetails: argument
|