How used XPWeakReferenceStruct

StatusIDPriorityType
Closed229MinorQuestion
ProfileReply
serggonnClient

I am find example

[DomainComponent, NonPersistentDc] public interface Master1
{
[NonPersistentDc, DevExpress.ExpressApp.DC.Aggregated, BackReferenceProperty("Master1")] IList Details1 { get; }
}

[DomainLogic(typeof(Master1))] public class Master1Logic : DomainLogicBase
{
public Master1Logic(Master1 instance): base(instance) {}

public IList Details1
{
get { return this.GetWeakList("Details1"); }
}
}

[DomainComponent] public interface Details1
{
[Browsable(false), DevExpress.ExpressApp.DC.Aggregated] XPWeakReference Master1 { get; set; }
}

[DefaultClassOptions, DomainComponent] public interface DerivedMaster1 : Master1
{
}

[DefaultClassOptions, DomainComponent] public interface OneMoreDerivedMaster1 : Master1
{
}

How modify XPWeakReference Master1 { get; set; } and change variable type to XPWeakReferenceStruct. Please show example

Replies

UserDescriptionPosted On
Sasha (Xafari Support)Client

Hi, serggonn

Please, see ticket https://galaktika-soft.com/wp-admin/post.php?post=261&action=edit.

Thanks, Sasha.

This reply has been deleted 9 years ago.

× This ticket is closed.

Write US