Contents tagged with mapping

  • How to use column name in DB that differs from field name in DAC class

    Hello everybody,

    today I want to leave a short workaround for the following case:

    you have DAC class, with column Data, but in db you have column BlobData. How to map your BlobData on Data? For such case you can use attribute DatabaseFieldName.

    Take a note, how Acumatica used it:

    [PXDBBinary(DatabaseFieldName = "Data")]

    public virtual byte[] BlobData { get; set; } more

  • Some Elastic search featues

    Hello everybody,

    For few days I've got assigned to work with Elastic search. As faithful to my principles before doing any activity I'd like to familiarize myself with instrument that I had to use. In ordre to use it more effectively.

    So, first of all I want to mention terminology. As a lot of developers I have expereince of working with databases, so I will use analogies from relational db world.

    First of all Kibana has indexes. It has nothing in common with indexes in relational db. Index in terms of relational db would be named database. 

    So each Kibana has one or more indexes ( databases ).

    Each index has one or more types. Types in terms of relational db would be named table.

    In … more