This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class GetScenariosInput : IPagedResultRequest, ISortedResultRequest, IShouldNormalize | |
{ | |
public int MaxResultCount { get; set; } | |
public int SkipCount { get; set; } | |
public string Sorting { get; set; } | |
public bool? IsActive { get; set; } | |
public GetScenariosInput() | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public partial class Create_Indexes_For_Module_Zero_Tables : DbMigration | |
{ | |
public override void Up() | |
{ | |
DropIndex("AbpPermissions", new[] { "UserId" }); | |
DropIndex("AbpPermissions", new[] { "RoleId" }); | |
DropIndex("AbpRoles", new[] { "TenantId" }); | |
DropIndex("AbpSettings", new[] { "TenantId" }); | |
DropIndex("AbpSettings", new[] { "UserId" }); | |
DropIndex("AbpUserLogins", new[] { "UserId" }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
System.NullReferenceExceptionObject reference not set to an instance of an object. | |
at Effort.Internal.CommandActions.DbCommandActionHelper.FormatParameters(IList`1 source, IList`1 description, ITypeConverter converter) | |
at Effort.Internal.CommandActions.QueryCommandAction.ExecuteDataReader(ActionContext context) | |
at Effort.Provider.EffortEntityCommand.ExecuteDbDataReader(CommandBehavior behavior) | |
at System.Data.Common.DbCommand.ExecuteReader(CommandBehavior behavior) | |
at System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.<Reader>b__c(DbCommand t, DbCommandInterceptionContext`1 c) | |
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch(TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) | |
at System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader(DbCommand command, DbCommandInterceptionContext interceptionContext) | |
at System.Data.Entity.Internal.InterceptableDbCommand.Execu |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[DependsOn(typeof(AbpEntityFrameworkModule))] | |
public class MyModule : AbpModule | |
{ | |
public override void Initialize() | |
{ | |
IocManager.RegisterAssemblyByConvention(Assembly.GetExecutingAssembly()); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
using (var container = new WindsorContainer()) | |
{ | |
container.Register( | |
Component.For<MyInterceptor>().LifestyleTransient(), | |
Component.For<MyTester>().Interceptors<MyInterceptor>().LifestyleTransient() | |
); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Create a base class for common parameters | |
public class KendoInputDto : IInputDto | |
{ | |
public int Take { get; set; } | |
public int Skip { get; set; } | |
public IEnumerable<Sort> Sort { get; set; } | |
public Filter Filter { get; set; } | |
} |
NewerOlder