Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems type #67

Open
Malomalsky-coder opened this issue May 4, 2022 · 0 comments
Open

Problems type #67

Malomalsky-coder opened this issue May 4, 2022 · 0 comments

Comments

@Malomalsky-coder
Copy link

Malomalsky-coder commented May 4, 2022

byte
enum

example

public class MyClass
{
	public enum States { Free, Busy }

	public int Id { get; set; }
	
	public States State { get; set; }
	
}

or

public class MyClass
{
	public int Id { get; set; }
	
	public MyClassStates State { get; set; }
	
}

public enum MyClassStates { Free, Busy }
  1. Error => Views\CoreAdminData\Index.cshtml
else if (entityProperty.PropertyType == typeof(double))
{
    var lambda = Expression.Lambda<Func<object, double>>(property, entity);

    columns.Add(lambda).Titled(entityProperty.Name);
}
  1. Error => Create
ArgumentNullException: Value cannot be null. (Parameter 'propertyInfo')
System.Reflection.NullabilityInfoContext.Create(PropertyInfo propertyInfo)
DotNetEd.CoreAdmin.Controllers.CoreAdminDataController.GetDbSetValueOrNull(string dbSetName, out DbContext dbContextObject, out Type typeOfEntity, out Dictionary<string, Dictionary<object, string>> relationships) in CoreAdminDataController.cs
+
                                var nullabilityInfo = _nullabilityContext.Create(typeOfEntity.GetProperty(f.Name));
DotNetEd.CoreAdmin.Controllers.CoreAdminDataController.Create(string id) in CoreAdminDataController.cs
+
            var dbSetValue = GetDbSetValueOrNull(id, out var dbContextObject, out var entityType, out var relationships);
lambda_method212(Closure , object , object[] )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant