c# tag

485 questions


1 answers
72 views
0
Does the Table attribute not work in Entity Framework Core 1.1?

If the table name of the DB already exists is mytable, I attribute it as follows, but it doesn't recognize it.What should I do?Hoge.cs [Table(mytable)]public class Hoge {...}MyDbContext.cs public clas...

2 years ago

1 answers
47 views
0
I want C# to generate an event when I receive a window message.

Thank you for your help.  As the title suggests, we would like to have an event happen when we receive a window message on C#.  For the time being, I was able to process receiving window messages and ...

c#
2 years ago

1 answers
85 views
0
Why C#IOException Occurs?

Thank you for your help.In order to find out how many devices are connected to the PC in C#, Creating an application to view open COM ports.In order to detect a new connection or disconnect and update...

2 years ago

1 answers
43 views
0
I want to run the inside of the lambda expression linked when one method is called (notify another method)

■Current state Using a multi-online system called PhotonCloud,  I'm trying to make a multi-match.  OnConnectedToPhoton on PhotonEventManager.cs is  When connected to the PhotonServer, events fly. I'd ...

2 years ago

1 answers
81 views
0
EntityFramework: How do I issue an auto-increment ID other than `SaveChanges()`?

Data from self-made SRPG games are stored in the database under the Entity Framework Code-First.The tables include Character, Item, Weapon, Equipment, and so on.I was able to implement it normally, bu...

2 years ago

3 answers
51 views
0
GameObject[] is not instantiated when using the C# hash table in Unity

GameObject[]go1;GameObject[]go2;GameObject[]go3;string [ ] tag = {A, B, C };Dictionary <int, GameObject[]>Dict=new Dictionary<int, GameObject[]>();Pict.Add(0,go1);Pict.Add (1, go2);Pict.Ad...

2 years ago

1 answers
61 views
0
ASP.NET automatically changes input element name to ctl00$ContentPlaceHolder

The reason is that you are using the master page.It was written on an overseas website that ClientIDMode=Static would be fixed by writing ClientIDMode= in the ContentPlaceHolder.But writing this doesn...

2 years ago

1 answers
101 views
0
Is it possible to specify parameter Bind in SQL Server?

We are developing a database operation program at C#.Oracle sets OracleCommand's BindByName to true to by parameter namingI think it is possible to set parameters, but is there an option like this in ...

2 years ago

1 answers
69 views
0
Until how many days ago can I get a tweet on Twitter API?

Using C#(Core Tweet), we are creating a tool to output Twitter search results to Excel.Twitter APIs should only allow you to retrieve tweets from the past week, but rarely do you get tweets from about...

2 years ago

1 answers
43 views
0
pass a variable over to another class

I'm making a game.·If you save 100 exps, you will be able to improve your level ·When you raise the level, you increase the variable value of the class called status class by one There may be some par...

c#
2 years ago
« - 35 - »

© 2024 OneMinuteCode. All rights reserved.