LibNetCore 1.2.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package LibNetCore --version 1.2.0
                    
NuGet\Install-Package LibNetCore -Version 1.2.0
                    
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="LibNetCore" Version="1.2.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="LibNetCore" Version="1.2.0" />
                    
Directory.Packages.props
<PackageReference Include="LibNetCore" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add LibNetCore --version 1.2.0
                    
#r "nuget: LibNetCore, 1.2.0"
                    
#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.
#:package LibNetCore@1.2.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=LibNetCore&version=1.2.0
                    
Install as a Cake Addin
#tool nuget:?package=LibNetCore&version=1.2.0
                    
Install as a Cake Tool

Bổ xung thêm xử lý dữ liệu với Oracle.

Khai báo sử dụng với Oracle được định nghĩa trong appsettings.json như sau

"Conect": { "LOAI": "ORA", (ORA - Oracle, SQL là SQL server, MYSQL là db MySQL, COMPAC là SQL COMPAC "DBO": "Tên schema để thao tác dữ liệu", "IPSERVER": "localhost", "DB_NAME": "Schema để kết nối", "USER": "tài khoản", "PW": "mật khẩu", "PARA": "0" (0- là mặc dinh không tham số, 1 là tham số là mã đơn vị, 2 là mã đơn vị, mã tài khoản, acton controller ) },

  • Bổ xung thêm OracleDynamicParameters

Ví dụ:

var paramater = new OracleDynamicParameters(); paramater.Add("p_nsd", OracleDbType.Varchar2, ParameterDirection.Input, userName); paramater.Add("p_mk", OracleDbType.Varchar2, ParameterDirection.Input, matKhau); paramater.Add("cs", OracleDbType.RefCursor, ParameterDirection.Output);

        return await _dbHelper.ExecuteProcedureAsyn<NguoiDung>(storeProcedure: HeThongStore.HETHONG_DANGNHAP, paramater);
  • Thay đổi khác.
  • Chỉnh sủa grid, select2, vue-txt trong xử lý date, time, money. Js base On trên Vuejs 2.17.

Khai báo để sử dụng control js. trong programe tao khai báo thêm để sử dụng.

builder.Services.AddConfigService(); builder.Services.AddAntiforgery(builder ⇒ builder.HeaderName = "X-XSRF-TOKEN");

app.UseConfig();

Trong file _layout.cshtml thêm đăng ký js

Trong header file:

@Html.RegisterCssFromResource()

@Html.RegisterJsFromResource()

Ví dụ grid khai báo:

<grid id="gridBoPhan" ref="gridBoPhan" v-bind:columns="cols" v-bind:config="option" height="500px"> </grid>

<vue-txt id="Ten" focus placeholder="Tên bộ phận" v-model="duLieu.TEN" dataType="String" title="Tên bộ phận" required="true"> </vue-txt>

var Vuejs = createApp({ setup: function (props, ctx) {

        const cols = reactive([
            { id: "Ten", name: "Tên", field: "TEN", minWidth: 300   , filterType: "text" },
            { id: "Chon", name: "Thao tác", field: "CHON", minWidth: 80, formatter: AddButton, filterType: "none" }
        ]);

        const option = reactive({
            pageSize: 15,
            paging: "scroll",
            filter: true,
        });
        const duLieu = reactive({ TrangThai: 'C', Ten: '', MoTa: '' });

        onMounted(() => {
         
        });


        return {
            cols, duLieu, option,
            ThemMoiBoPhan, LuulaiThongTin
        }
    }
}).mount('#bophan');
Product Compatible and additional computed target framework versions.
.NET 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 was computed.  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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.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
2.2.3 205 12/14/2024
2.2.1 164 11/28/2024
2.2.0 164 11/26/2024
2.1.0 287 11/18/2023
1.2.0 313 4/8/2023
1.1.1 574 8/2/2022
1.1.0 532 7/17/2021
1.0.0 596 6/7/2022