by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    avifatal
    @avifatal
    Can you give a link to some reference about that
    avifatal
    @avifatal
    Hi
    public Lite<CommissionTierEntity> CommissionTier { get; set; }
    CommissionTierEntity is Embedded entity but yet I need a reference / foreign key to it.
    Olmo del Corral
    @olmobrutall
    You can not, make it normal entity then
    avifatal
    @avifatal
    Normal entity meand eagre loading, right?
    Olmo del Corral
    @olmobrutall
    If not lite, yes
    The problem is that then you need to garbage collect them
    When removed from an Mlist
    avifatal
    @avifatal
    hmmm, problem, its a bug table
    Olmo del Corral
    @olmobrutall
    But you were linking anyway
    avifatal
    @avifatal
    big
    what do you mean?
    Olmo del Corral
    @olmobrutall
    *Cloning them
    avifatal
    @avifatal
    Commition table will have around 1,000,000 rows in a month
    I want to display the tier in it
    Olmo del Corral
    @olmobrutall
    In s SearchControl is possible
    avifatal
    @avifatal
    I can just save the Id, and in the form display a link to the relevant entity via TS
    Olmo del Corral
    @olmobrutall
    My approach was recalculating it in the query
    it is possible to save the id but not to make a FK
    avifatal
    @avifatal
    I can't calculate the ID at run time, think its a high price to pay
    avifatal
    @avifatal

    Question about transactions and scoping.
    In a s SimpleTask, in a small scope I go

    using (var tr = Transaction.ForceNew(System.Data.IsolationLevel.ReadCommitted)){
     bla bla
    }

    but, when I look at Graph source code I see that it is wrapping each save in a transaction.
    How is Transaction.ForceNew before entity.Exexute suppose to work ?

    Thanks

    avifatal
    @avifatal
    Olmo
    Any chance to get an answer here?
    Tx
    Olmo del Corral
    @olmobrutall
    Hi avi
    tell me if you still have problems
    avifatal
    @avifatal
    Hi,
    I have CustomerAdjustmentRequestEntity that has public MList<CustomerEntity> Customers { get; set; }.
    When CustomerAdjustmentRequestOperation.Save is executing I get an error about: Saving 'CustomerEntity' is controlled by the operations which is true, but Im not saving new customers, just connecting existing ones.
    blob
    Thanks
    Olmo del Corral
    @olmobrutall
    They feel modified for some reason
    Probably the presaving
    avifatal
    @avifatal
    I did not know that MList has fellings... I thougt only Lite (-:
    Anyway I put the debugger in the presaving event and it is not hittign
    avifatal
    @avifatal
    Hitting
    avifatal
    @avifatal
    Any Idea?
    avifatal
    @avifatal
    I get the feeling its something we did yesterday with the framework
    Olmo del Corral
    @olmobrutall
    place a breakpoint on ModifiableEntity.SetSelfModified
    or override SetSelfModified in CustomerEntity
    and place the breakpoint there
    avifatal
    @avifatal
    blob
    This is actually when saving CustomerAdjustmentRequestEntity that has MList<CustomerEntity>
    Olmo del Corral
    @olmobrutall
    The Screenshot doesn't tell me too much
    we didnt change anything yesterday but BuilkInsert
    every has a ModifiedState
    its changed with GraphExplorer.PropagateModifiatoins and entity.SetSelfModified
    you can check who, if any, is changing your CustomerEntities
    avifatal
    @avifatal
    Hi,
    Im trying to add a search control after a field.
    Note that im not importing the entity, im using the default built-in form.
    Im getting the error: No ValueLine found for 'User' (property route = CreatedBy) even though it is existed. is it not supported for auto populated froms?
    Thanks
        var customer = new EntitySettings(CustomerEntity);
    
        customer.overrideView((rep) => {
            rep.insertAfter(x => x.affiliate,
                <SearchControl .....>,
            )
        });
        Navigator.addSettings(customer);// not importing
    Olmo del Corral
    @olmobrutall
    You need to use getMixin function
    avifatal
    @avifatal
    why. i have no mixin there?
    Olmo del Corral
    @olmobrutall
    I don't get it