Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "chekairi"

Hi,

Do you have any way to extend setting manager scope which is currently working on application, tenant and user level. I want an another scope as organization unit.

Please suggest me best way. Thanks

Hi,

Is there any way to extend notification definition class of notification system.

and another question is that we have three types of notifications 1. Push Notification 2. Email Notification 3. SMS Notification

so, is there any option that user can subsrcibe same notification of any one or two type? suppose that any user didn't want subsrcibe any one notification on SMS but they want to subscribe on email and push notification.

Thanks

Hi,

We are using Flutter to design android and iPhone app, and for web portal and mobile apis using asp.net zero framework. Is there any way or solution to use existing notification and chat system with integrate to firebase push notifications. We keep SignalR for web push notification but for mobile app need to use firebase push notifications. Please guide me that what will be easy and shortest way to achieve this target. Thanks

Hi,

is there any way to store mobile device information at a time of login attempts, audit logs and entity change set. When i calling web apis through postman or mobile (andorid or iphone), it's showing Unknown / 0.0 / Unknown in browser info field in all database tables.

can we utilize client name and browser info fields to capture mobile device information? client ip address field is working fine.

Thanks

issue still exists in latest release 4.6.0. Did you consider nullable types?

already reported on github from last 21 days.

please fixed it as soon as possible.

Thanks

yes

Hi, I have upgrade abp libararies to latest version v4.5.0.

I am facing issue in property change set when i modify to any entity. When entity property has original value is NULL and new value is also NULL then change tracker show as a that propery in modify state and save this change set into database. (see snapshot for reference)

and no changeset create when any property of entity from NULL value to has value.

Can i stop the tracker changes of insert entities?

Thanks but no success with this command.

Issue resolved. I just called below line after insert.

await UnitOfWorkManager.Current.SaveChangesAsync();

Dear, Please review my sample code. I think to understand better what i want.

when i called sql query to get user count after ef insert within same transaction scope, but result is still zero. How to read uncommitted data before commit.

I will used SP instead of raw query.

public class UserRepository : WTMRepositoryBase<User, long>, IUserRepository {

    private readonly IActiveTransactionProvider _transactionProvider;

    public UserRepository(
        IDbContextProvider&lt;WTMDbContext&gt; dbContextProvider,
        IActiveTransactionProvider transactionProvider) : 
        base(dbContextProvider) {
        _transactionProvider = transactionProvider;
    }

    public void CreateUser(CreateUserInput input) {
        var user = new User {
            Name = input.Name,
            Surname = input.Surname,
            EmailAddress = input.EmailAddress,
            Password = input.Password
        };

        Insert(user);
        var result = GetUserCount();

        // result is zero..  
    }

    private int GetUserCount() {
        var command = Connection.CreateCommand();
        command.CommandText = "SELECT COUNT(*) FROM Users WITH (NOLOCK)";
        //command.Transaction = transaction;
        command.Transaction = GetActiveTransaction();
        command.CommandType = CommandType.Text;
        EnsureConnectionOpen();
        var output = Convert.ToInt32(command.ExecuteScalar());
        return output;
    }

    private void EnsureConnectionOpen() {
        if (Connection.State != ConnectionState.Open) {
            Connection.Open();
        }
    }

    private DbTransaction GetActiveTransaction() {
        return (DbTransaction)_transactionProvider.GetActiveTransaction(new ActiveTransactionProviderArgs { { "ContextType", typeof(WTMDbContext) }, { "MultiTenancySide", MultiTenancySide } });
    }
}

Hi,

How to get the entity change values into store procedure with nolock query.

I just want to read uncommitted data in store procedure but that change i m doing with ef repository.

Thanks

Showing 1 to 10 of 14 entries