共用方式為


IDomainModelSerializer.IsSerializable Property

Definition

Returns a flag indicating whether the domain model can be serialized directly or not.

public:
 property bool IsSerializable { bool get(); };
public bool IsSerializable { get; }
member this.IsSerializable : bool
Public ReadOnly Property IsSerializable As Boolean

Property Value

Remarks

Domain model libraries cannot be serialized directly, and will return false. If this property is false, then you should not call the load / save methods (the standard implementation is that they will throw a NotImplementedException).

Applies to