Click or drag to resize

IUnitEntity Interface

Class representing an unit.

(Unité)

Namespace:  EBP.Api.Interfaces.Invoicing.Module.Entities
Assembly:  EBP.Api.XXX.Interfaces (in EBP.Api.XXX.Interfaces.dll) Version: 1.0.3.0
Syntax
[GuidAttribute("7C1EC53D-8E30-47f8-A1EF-626F3445B8E5")]
public interface IUnitEntity : IUnitEntityBase, 
	IBusinessEntityBase, ISynchronizableEntityBase, IEntity, IApiEntity, IDisposable, 
	IEquatable<IProxy>

The IUnitEntity type exposes the following members.

Properties
  NameDescription
Public propertyCaption

Gets or sets the unit caption.

(Libellé)

(Inherited from IUnitEntityBase.)
Public propertyCaptionMember

Gets the unit caption.

(Libellé)

(Inherited from IUnitEntityBase.)
Public propertyConversionRate

Gets or sets the ConversionRate

(Coefficient de conversion)

(Inherited from IUnitEntityBase.)
Public propertyConversionRateMember

get the ConversionRate

(Coefficient de conversion)

(Inherited from IUnitEntityBase.)
Public propertyCreatedDate
Gets the Created Date
(Inherited from IEntity.)
Public propertyCreatedUser
Gets the Created User
(Inherited from IEntity.)
Public propertyDecimals

Gets or sets the number of decimals of the unit.

(Décimale)

(Inherited from IUnitEntityBase.)
Public propertyDecimalsMember

Gets the number of decimals of the unit.

(Décimale)

(Inherited from IUnitEntityBase.)
Public propertyDefaultDurationCaptionType

Gets or sets the default type of the duration caption.

(Afficher dans les champs de type durée)

Public propertyDefaultDurationCaptionTypeMember

Gets the default type of the duration caption.

(Afficher dans les champs de type durée)

Public propertyDurationCaption

Gets or sets the duration caption, used for parsing

(Intitulé durée)

Public propertyDurationCaptionMember

Gets the duration caption, used for parsing

(Intitulé durée)

Public propertyEntityCaption
Gets the caption of the current entity, using the content
(Inherited from IEntity.)
Public propertyEntityLabel
Gets the entity Label
(Inherited from IEntity.)
Public propertyErrors
Gets the collection of errors
(Inherited from IEntity.)
Public propertyId

Gets or sets the unit code.

(Code unité)

(Inherited from IUnitEntityBase.)
Public propertyIdMember

Gets the unit code.

(Code unité)

(Inherited from IUnitEntityBase.)
Public propertyIsDeleted
Gets if the mode matches a deleted mode
(Inherited from IEntity.)
Public propertyIsEmptyLine
Indicates if the entity is an empty line of an entity collection (created in auto following the entityCollection options)
(Inherited from IEntity.)
Public propertyLanguage
Language, just binded no store in DB
Public propertyLanguageMember
Language, just binded no store in DB
Public propertyLocalizableCaption
Captions in several languages
Public propertyMembers
List of the members. It allows to acces to members with the name
(Inherited from IEntity.)
Public propertyMode
Gets the entity mode
(Inherited from IEntity.)
Public propertyModifiedDate
Gets the Modified Date
(Inherited from IEntity.)
Public propertyModifiedUser
Gets the Modified User
(Inherited from IEntity.)
Public propertyNotes

Gets or sets the notes in RTF format.

(Notes)

(Inherited from IBusinessEntityBase.)
Public propertyNotesClear

Gets or sets the notes in plain text format.

(Notes en texte brut)

(Inherited from IBusinessEntityBase.)
Public propertyNotesClearMember

Gets the notes in plain text format.

(Notes en texte brut)

(Inherited from IBusinessEntityBase.)
Public propertyNotesMember

Gets the notes in RTF format.

(Notes)

(Inherited from IBusinessEntityBase.)
Public propertyOwnerEntity
Gets the main entity that own all this items/collection
(Inherited from IEntity.)
Public propertyParent
Gets the parent entity collection, that own this item
(Inherited from IEntity.)
Public propertyReadOnly
Gets/Sets if the entity is in read only mode, to preserve from data changing
(Inherited from IEntity.)
Public propertySilent
Get/Sets if the entity is in silent mode
(Inherited from IEntity.)
Public propertyStates
Gets the entity states
(Inherited from IEntity.)
Public propertyUNECECode

Gets or sets the UNECE code.

(Code UNECE)

Public propertyUNECECodeMember

Gets the UNECE code.

(Code UNECE)

Public propertyUniqueId
Gets or sets the unique Id
(Inherited from ISynchronizableEntityBase.)
Public propertyUniqueIdMember
Gets the unique Id
(Inherited from ISynchronizableEntityBase.)
Public propertyUnitAlias
Gets or sets the UnitAlias
(Inherited from IUnitEntityBase.)
Public propertyUnitAliasMember
get the UnitAlias
(Inherited from IUnitEntityBase.)
Public propertyUnitType

Gets or sets the unit type.

(Type d'unité)

(Inherited from IUnitEntityBase.)
Public propertyUnitTypeMember

Gets the unit type.

(Type d'unité)

(Inherited from IUnitEntityBase.)
Public propertyWebSynchronizationInfos
Gets the web synchronization infos
Top
Methods
  NameDescription
Public methodAppend
Method for add a new entity to the media. Update the entity to its default value.
(Inherited from IEntity.)
Public methodCancel
Cancel the edit mode without saving, and reload the entity
(Inherited from IEntity.)
Public methodCancelEdit
Cancel the edit mode without saving, without reload the entity
(Inherited from IEntity.)
Public methodCheckData
Check the data of the entity
(Inherited from IEntity.)
Public methodClear
Clear the entity content and reinitialize it to the default value
(Inherited from IEntity.)
Public methodClone
Clone an entity
(Inherited from IEntity.)
Public methodCopyTo(IEntity)
Copy the entity content to another entity
(Inherited from IEntity.)
Public methodCopyTo(IEntity, Boolean)
Copy the entity content to another entity
(Inherited from IEntity.)
Public methodDelete
Method for delete a existing entity from the media
(Inherited from IEntity.)
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodEdit
Method to pass in edit mode a existing entity in the media (for exemple, add a lock for database)
(Inherited from IEntity.)
Public methodGetExtension
Gets the extension.
(Inherited from IApiEntity.)
Public methodLoad
Method for loading the entity
(Inherited from IEntity.)
Public methodSave
Method for saving the entity to the media
(Inherited from IEntity.)
Public methodSetComplexMemberReadOnly
Set the read only property to a member
(Inherited from IEntity.)
Public methodShowMessage
Method to display a message. The message is displayed if the UI has connected to the ShowMessage event
(Inherited from IApiEntity.)
Top
Events
  NameDescription
Public eventModeChanged
Event raised on mode changed
(Inherited from IEntity.)
Top
Remarks
The IUnitEntity type can be instantiated with EBP.Api.Utils<TExtension>.GetInterface<T>
IUnitEntity instance = Utils<ExtensionType>.GetInterface<IUnitEntity>();
See Also