BootstrapBlazor.Table.Freesql 8.3.4

dotnet add package BootstrapBlazor.Table.Freesql --version 8.3.4
NuGet\Install-Package BootstrapBlazor.Table.Freesql -Version 8.3.4
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="BootstrapBlazor.Table.Freesql" Version="8.3.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BootstrapBlazor.Table.Freesql --version 8.3.4
#r "nuget: BootstrapBlazor.Table.Freesql, 8.3.4"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install BootstrapBlazor.Table.Freesql as a Cake Addin
#addin nuget:?package=BootstrapBlazor.Table.Freesql&version=8.3.4

// Install BootstrapBlazor.Table.Freesql as a Cake Tool
#tool nuget:?package=BootstrapBlazor.Table.Freesql&version=8.3.4

BootstrapBlazor 的 Table 扩展

示例1:PinPaiName=品牌商1

@using FreeSql.Internal.Model

<TableAdv DynamicFilterInfo="DynamicFilterInfo" />

@code {
    DynamicFilterInfo DynamicFilterInfo =>
        new DynamicFilterInfo()
        {
            Field = nameof(XianMu.PinPaiName),
            Operator = DynamicFilterOperator.Equal,
            Value = "品牌商1"
        };
}

示例2:(PinPaiName=品牌商1 && QuDaoShangName=渠道商2) || TuiGuangShangName=推广商3

@using FreeSql.Internal.Model

<TableAdv DynamicFilterInfo="DynamicFilterInfo" />

@code {
    DynamicFilterInfo DynamicFilterInfo => GenDynamicFilterInfo();

    DynamicFilterInfo GenDynamicFilterInfo()
    {
        //第一层
        var filters = new List<DynamicFilterInfo>();

        filters.Add(new DynamicFilterInfo()
        {
            Field = nameof(XianMu.PinPaiName),
            Operator = DynamicFilterOperator.Equal,
            Value = "品牌商1"
        });


        filters.Add(new DynamicFilterInfo()
        {
            Field = nameof(XianMu.QuDaoShangName),
            Operator = DynamicFilterOperator.Equal,
            Value = "渠道商2"
        });

        DynamicFilterInfo filterWhereCascadeAnd = new DynamicFilterInfo()
        {
            Logic = DynamicFilterLogic.And,
            Filters = filters
        };


        //第二层
        var filters2 = new DynamicFilterInfo()
        {
            Field = nameof(XianMu.TuiGuangShangName),
            Operator = DynamicFilterOperator.Equal,
            Value = "推广商3"
        };

        //生成带预设条件的复合查询
        var filtersWhereCascade = new List<DynamicFilterInfo>();
        filtersWhereCascade.Add(filterWhereCascadeAnd);
        filtersWhereCascade.Add(filters2);

        DynamicFilterInfo filterWhereCascadeOr = new DynamicFilterInfo()
        {
            Logic = DynamicFilterLogic.Or,
            Filters = filtersWhereCascade
        };

        return filterWhereCascadeOr;
    }
}
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
8.3.4 93 3/9/2024
8.3.0 84 2/25/2024
8.1.10 113 1/18/2024
8.0.0 167 11/15/2023
7.10.4 133 9/3/2023
7.10.2 105 9/3/2023
7.10.1 124 9/2/2023
7.8.0 130 7/15/2023
7.7.9 152 6/12/2023
7.7.0 135 6/2/2023
7.2.3 206 3/20/2023
7.2.2 206 3/20/2023
7.1.1 228 1/30/2023