Category: Serenity

post
Filter

Serenity : How to Build and Customizing Search or Filter on Senerity Listing Page

Serenity : Senerity Use Text box ( ) to search / filter records on listing pageWhich Field will be used for searching on listing page?By default, Sergen designates a table's first text field as the name field. For Example ProductName in Product TableWhat if we want to use any other field for searching or multi...

post
Date

Serenity : How to Add Date Editor in Form in Senerity

Serenity : public class PurchasesForm{    [DefaultValue("now"), DateEditor]    public DateTime Date { get; set; }}

post
Link / Button

Serenity : How to Add Link in Grid or Listing Page in Senerity

Serenity : Can Create Edit Link to Open our record in Edit mode by using EditLink Attributepublic class UserColumns{    [EditLink, DisplayName("UserId"), AlignRight]    public string UserID { get; set; }}Here- We added a link on Id Column on Listing page to open our record in edit modeAdd C...

post
Filter

Serenity : How to Show Filters Dropdown or LookUp Script on Listing Page in Senerity

Serenity : The idea behind dynamic scripts in Serenity is to provide dynamic data to the script side in the form of scripts that are generated at runtime.Web services and dynamic scripts both produce dynamic javascript files that can be cached on the client side.Lets Show Category Dropdown on Product Listing P...

post
Expression

Serenity : Explain Criteria Objects and Dynamic Queries in Senerity

Serenity : Criteria ObjectsThere is a chance that you will need to create complicated WHERE statements while developing dynamic SQL for SELECT, UPDATE, or DELETE. Although it is possible to construct these statements using string concatenation, it is time-consuming to avoid grammatical problems and exposes you...

post
Expression

Serenity : Use Expression Attribute in Serenity

Serenity : Expression attribute is used to specify expression of a non-basic field, e.g. one that doesn't actually exist in database.public class UserRow : Row{    public string Firstname    {        get { return Fields.Firstname[this]; }        set {...

post
Join

Serenity : How to Use Joins in Serenity Using ForeignKey Attribute

Serenity : Due to relationships, we frequently do joins when searching databases. These joins tend to be LEFT or INNER joins.Entities created using Serenity can be used in the same ways as SQL views, allowing you to add fields from other tables and query them as if they were one large merged table.A. Scenario ...

Serenity: & More

About Us

Community of IT Professionals

A Complete IT knowledgebase for any kind of Software Language, Development, Programming, Coding, Designing, Networking, Hardware and Digital Marketing.

Instagram