ZhouWei
ZhouWei
Thanks, you are right, the code in mongodb driver is: ``` namespace MongoDB.Driver { // Token: 0x020000C0 RID: 192 internal sealed class MongoDatabaseImpl : MongoDatabaseBase } ``` Internal without public....,...
I modified the source code, changed the class MongoDatabaseImpl from internal to public, and recompile it. ```csharp namespace MongoDB.Driver { public sealed class MongoDatabaseImpl : MongoDatabaseBase } ``` The GetCollection...
Thanks, can we do this without modified the IronPython Souce Code? ``` DefaultArgBuilder.ToExpression ```
DbProviderFactory is import for many ORM libs and data helpers, how to implement it?
So, What is the base type of the following class, so we can detect the return value is a OldInstance instance: ```python class Test: pass Test() ``` if(return_value is OldInstance)...
I read the document calfully, and searched [Use external cache provider for RazorEngine #278 ](https://github.com/Antaris/RazorEngine/issues/278) and [Redis support #352](https://github.com/Antaris/RazorEngine/issues/352), but still get no idea. Does any succeed in share cache...
Is there any progress in the past few years, the feature is alow import for many cases to extension a powfully pluigein system.
In @param works well in NPGSQL, System.Data.SQLite, Mysql.data.client, system.data.sqlclient, and etc. but except oracle. implemeted in the driver, it will be easier to migration databases.
In [Npgsql](https://github.com/npgsql/npgsql/blob/main/src/Npgsql/NpgsqlParameter.cs) (ADO.NET driver for PostgreSQL), it use a function to change prefix with '@' or ':' ```cs internal void ChangeParameterName(string? value) { if (value == null) _name = TrimmedName...
ProcessRawQuery in [NpgsqlCommand](https://github.com/npgsql/npgsql/blob/main/src/Npgsql/NpgsqlCommand.cs) with EnableSqlRewriting rewite the sql from '@' and ‘:’ to '$' with Query analysis ParseRawQuery in [SqlQueryParser](https://github.com/npgsql/npgsql/blob/a06d63078d712a296c85d102ea7036ce815c255f/src/Npgsql/SqlQueryParser.cs#L29) includes doing rewriting named parameter placeholders to positional (@p =>...