OracleAlchemy 1.0.0

dotnet add package OracleAlchemy --version 1.0.0
                    
NuGet\Install-Package OracleAlchemy -Version 1.0.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="OracleAlchemy" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="OracleAlchemy" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="OracleAlchemy" />
                    
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 OracleAlchemy --version 1.0.0
                    
#r "nuget: OracleAlchemy, 1.0.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 OracleAlchemy@1.0.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=OracleAlchemy&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=OracleAlchemy&version=1.0.0
                    
Install as a Cake Tool

OracleAlchemy

Oracle veritabanı işlemleri için .NET kütüphanesi. Prosedürler, paketler, tablolar ve viewler için kolay kullanımlı API sağlar.

Özellikler

  • Oracle prosedürlerini çalıştırma
  • Paket prosedürlerini çalıştırma
  • Tablo ve view işlemleri
  • Bağlantı yönetimi
  • Hata yönetimi
  • Loglama desteği

Kurulum

dotnet add package OracleAlchemy

Kullanım

Bağlantı Yapılandırması

services.AddOracleAlchemy(options =>
{
    options.ConnectionString = "Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=your_host)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=your_service)));User Id=your_username;Password=your_password;";
});

Prosedür Çalıştırma

public class ProsedurOrnegi
{
    private readonly IOracleProcedureManager _procedureManager;

    public ProsedurOrnegi(IOracleProcedureManager procedureManager)
    {
        _procedureManager = procedureManager;
    }

    public async Task<DataTable> CalistirProsedurAsync(string schema, string procedureName)
    {
        var parameters = new Dictionary<string, object>
        {
            { "p_id", 1 },
            { "p_name", "Test" }
        };

        return await _procedureManager.ExecuteProcedureAsync(procedureName, schema, parameters);
    }
}

Paket Prosedürü Çalıştırma

public class PaketOrnegi
{
    private readonly IOraclePackageManager _packageManager;

    public PaketOrnegi(IOraclePackageManager packageManager)
    {
        _packageManager = packageManager;
    }

    public async Task<DataTable> CalistirPaketProseduruAsync(string schema, string packageName, string procedureName)
    {
        var parameters = new Dictionary<string, object>
        {
            { "p_id", 1 }
        };

        return await _packageManager.ExecutePackageProcedureAsync(packageName, procedureName, schema, parameters);
    }
}

Tablo İşlemleri

public class TabloOrnegi
{
    private readonly IOracleTableManager _tableManager;

    public TabloOrnegi(IOracleTableManager tableManager)
    {
        _tableManager = tableManager;
    }

    public async Task VeriIslemleriAsync(string schema, string tableName)
    {
        // Veri ekle
        var insertData = new Dictionary<string, object>
        {
            { "ID", 1 },
            { "NAME", "Test" }
        };
        
        await _tableManager.InsertIntoTableAsync(tableName, schema, insertData);
        
        // Veri çek
        var result = await _tableManager.QueryTableAsync(
            tableName, 
            schema, 
            whereClause: "NAME LIKE '%Test%'", 
            orderByClause: "ID DESC", 
            limit: 10);
    }
}

Lisans

MIT

📚 Dokümantasyon

Detaylı dokümantasyon için Wiki sayfamızı ziyaret edin.

🧪 Test

Projeyi test etmek için:

dotnet test

🤝 Katkıda Bulunma

  1. Bu depoyu fork edin
  2. Feature branch'inizi oluşturun (git checkout -b feature/AmazingFeature)
  3. Değişikliklerinizi commit edin (git commit -m 'Add some AmazingFeature')
  4. Branch'inizi push edin (git push origin feature/AmazingFeature)
  5. Pull Request oluşturun

📞 İletişim

Proje Yöneticisi - @projeYoneticisi

Proje Linki: https://github.com/organizasyon/OracleAlchemy

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  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
1.0.0 297 4/7/2025