public void Should_Get_All_Values_With_entityDynamicParameterId_entityId()
        {
            var testItems = AddTestItems();

            RunAndCheckIfPermissionControlled(() =>
            {
                var list = _entityDynamicParameterValueManager.GetValues(entityDynamicParameterId: testItems.entityDynamicParameter.Id, entityId: "123");
                CheckIfSequencesEqual(list, testItems.values);
            });
        }
Example #2
0
 public static List <EntityDynamicParameterValue> GetValues <TEntity, TPrimaryKey>(this IEntityDynamicParameterValueManager manager, string entityId, string parameterName)
     where TEntity : IEntity <TPrimaryKey>
 {
     return(manager.GetValues(entityFullName: typeof(TEntity).FullName, entityId: entityId, parameterName: parameterName));
 }
Example #3
0
 public static List <EntityDynamicParameterValue> GetValues <TEntity>(this IEntityDynamicParameterValueManager manager, string entityId, string parameterName)
     where TEntity : IEntity <int>
 {
     return(manager.GetValues <TEntity, int>(entityId: entityId, parameterName: parameterName));
 }
Example #4
0
 public static List <EntityDynamicParameterValue> GetValues <TEntity>(this IEntityDynamicParameterValueManager manager, string entityId, DynamicParameter dynamicParameter)
     where TEntity : IEntity <int>
 {
     return(manager.GetValues <TEntity>(entityId: entityId, dynamicParameterId: dynamicParameter.Id));
 }