/// <summary> /// Initialize entity authorize attribute. /// </summary> /// <param name="action">Action of entity authorize.</param> public EntityAuthorizeAttribute(EntityAuthorizeAction action) { Action = action; }