A Microsoft framework for building cross-platform mobile apps using .NET and C# with native performance and user interfaces.
Hello,
Welcome to our Microsoft Q&A platform!
First of all, did you create model class like following code?
public class Operator
{
[PrimaryKey, AutoIncrement]
public int Id { get; set; }
public string OpName { get; set; }
public string OpPhone { get; set; }
public string OpEmail { get; set; }
}
When you create new object, you should write following code.
var operators = new Operator()
{
OpName = "Opname1",
OpPhone = "O12345566",
OpEmail = "******@test.com"
};
Best Regards,
Leon Lu
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.